fix: test: Actually retry the flaky unit tests

In 237489caf I mistakenly put the environment variables controlling
the retry wrapper in a separate never used environment.

Merge branch 'stepan/actually-retry-flaky-unit-tests' into 'main'

See merge request isc-projects/bind9!11838
This commit is contained in:
Štěpán Balážik 2026-04-13 15:50:35 +00:00
commit 28c3b990f9

View file

@ -91,13 +91,12 @@ foreach unit : isc_test
)
suites = ['isc', 'cmocka']
env = environment()
timeout = 300
if unit in flaky_isc_test
suites += 'flaky'
# Pass FLAKY and TIMEOUT to the test wrapper so it can retry appropriately
env.set('FLAKY', '1')
env.set('TIMEOUT', timeout.to_string())
test_env.set('FLAKY', '1')
test_env.set('TIMEOUT', timeout.to_string())
endif
test(
unit,