mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-25 02:47:54 -04:00
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:
commit
28c3b990f9
1 changed files with 2 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue