]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Actually retry the flaky unit tests
authorŠtěpán Balážik <stepan@isc.org>
Mon, 13 Apr 2026 09:01:05 +0000 (11:01 +0200)
committerŠtěpán Balážik <stepan@isc.org>
Mon, 13 Apr 2026 09:01:05 +0000 (11:01 +0200)
In 237489caf I mistakenly put the environment variables controlling
the retry wrapper in a separate never used environment.

tests/isc/meson.build

index 0029ae6130e9a7a6a971a6cca9ecfe2e2ee32ac2..81955d759db8e97939e07595767d547d9a3b2c88 100644 (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,