Skip flaky test_resolved_domain_restricted_dns in networkd-test.py
authorMichael Biebl <biebl@debian.org>
Mon, 12 Dec 2022 23:32:17 +0000 (00:32 +0100)
committerArnaud Rebillout <arnaudr@debian.org>
Mon, 13 Apr 2026 07:18:40 +0000 (14:18 +0700)
This test is part of DnsmasqClientTest and does not work reliably under
LXC/debci, so skip it for the time being.

Closes: #1025908
Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-flaky-test_resolved_domain_restricted_dns-in-network.patch

test/networkd-test.py

index ca158bf769a2b0ac039ff313c93ee411abab7126..437c481585346da97d896e2b196cf79417516f4b 100755 (executable)
@@ -595,6 +595,7 @@ class DnsmasqClientTest(ClientTestBase, unittest.TestCase):
         with open(self.dnsmasq_log) as f:
             sys.stdout.write('\n\n---- dnsmasq log ----\n{}\n------\n\n'.format(f.read()))
 
+    @unittest.skip("test is flaky:  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025908")
     def test_resolved_domain_restricted_dns(self):
         '''resolved: domain-restricted DNS servers'''