databricks-cli/acceptance/internal
Denis Bilenko d1efd84852
acc: add EnvMatrix config setting (#2500)
## 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.
2025-03-18 13:54:40 +00:00
..
cmd_server.go acc: Create acceptance/internal package (#2495) 2025-03-17 19:19:22 +00:00
config.go acc: add EnvMatrix config setting (#2500) 2025-03-18 13:54:40 +00:00
config_test.go acc: add EnvMatrix config setting (#2500) 2025-03-18 13:54:40 +00:00
server.go acc: Create acceptance/internal package (#2495) 2025-03-17 19:19:22 +00:00