From: Remi Gacogne Date: Thu, 10 Feb 2022 14:50:54 +0000 (+0100) Subject: dnsdist: Wait a bit longer in the Backend Discovery regression tests X-Git-Tag: rec-4.7.0-alpha1~9^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=67badc2238485fd7ba5e7e080b11d02b5221d034;p=thirdparty%2Fpdns.git dnsdist: Wait a bit longer in the Backend Discovery regression tests Otherwise TSAN complains about a race in `boost::format` between the connection error message in `SConnectWithTimeout()` and the output of `showServers()`.. --- diff --git a/regression-tests.dnsdist/test_BackendDiscovery.py b/regression-tests.dnsdist/test_BackendDiscovery.py index 76a9175505..5ce70a3fe7 100644 --- a/regression-tests.dnsdist/test_BackendDiscovery.py +++ b/regression-tests.dnsdist/test_BackendDiscovery.py @@ -200,8 +200,9 @@ class TestBackendDiscovery(DNSDistTest): """ # enough time for discovery to happen - time.sleep(5) + # 5s is not enough with TSAN + time.sleep(10) if not self.checkBackendsUpgraded(): - # 5s is not enough with TSAN + # let's wait a bit longer time.sleep(5) self.assertTrue(self.checkBackendsUpgraded())