Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
roachtest: pass env vars to roachprod via multiple --env flags
Roachprod now shell escapes environment variables when rendering its start script. As a result, multiple environment variables passed as a single string, such as: --env "COCKROACH_MEMPROF_INTERVAL=1m COCKROACH_DISABLE_QUIESCENCE=true" would result in us exporting it as a single entry: export 'COCKROACH_MEMPROF_INTERVAL=1m COCKROACH_DISABLE_QUIESCENCE=true' which results in a single environment variable getting exported COCKROACH_MEMPROF_INTERVAL='1m COCKROACH_DISABLE_QUIESCENCE=true' I've converted the tests that were passing multiple environment variables in this was to passing them via multiple invocations of the `--env` flag. This seem preferable than teaching roachprod more sophisticated environment variable parsing. Release note: None
- Loading branch information