mirror of https://github.com/databricks/cli.git
## Changes - New option EnvMatrix to run the same test on various env vars ## Why For integration tests, I'd like to test different DBR versions. Currently there are two options: - manually copy paste test in multiple variants - use a loop in script both are not great, maintenance-wise and performance-wise. With this PR you can easily run test with different env vars and all those variants will run in parallel. ## Tests New selftest: acceptance/selftest/envmatrix. Ran it manually with -norepl to see environment variables passed. Run it with additional "sleep 10" to see that total time is still 10 seconds. |
||
---|---|---|
.. | ||
cmd_server.go | ||
config.go | ||
config_test.go | ||
server.go |