From 67badc2238485fd7ba5e7e080b11d02b5221d034 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 10 Feb 2022 15:50:54 +0100 Subject: [PATCH] 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()`.. --- regression-tests.dnsdist/test_BackendDiscovery.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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()) -- 2.47.2