Repository navigation
Conversation
Docker tmpfs mount options are comma-separated (e.g. rw,size=64m), but the TC_TMPFS value was also split on every comma, so passing more than one option for a path failed with ArrayIndexOutOfBoundsException. Only split before a new path:options entry.
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
TC_TMPFSsplits its value on every comma, but docker tmpfs mount options are comma separated too, so something likeTC_TMPFS=/var/lib/postgresql/data:rw,size=256mblows up inConnectionUrl.parseTmpfsOptionswithArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1, becausesize=256mbecomes its own entry with no:. in practice there's no way to limit the tmpfs size from the jdbc urlthe fix only splits on a comma when a new
path:entry comes right after it, so/a:rw,size=64m,/b:rogives/a -> rw,size=64mand/b -> ro, and the documentedkey:value,key1:value1format keeps workingadded two cases to
ConnectionUrlTestand one toDatabaseDriverTmpfsTestthat starts postgres and checks/proc/mountshassize=65536k, the new tests fail without the changeSummary by CodeRabbit