From 736ca603785ceee5ba8675bb96939450ca1eefc3 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Fri, 16 May 2025 14:18:19 +0200 Subject: [PATCH] test/e2e: do not check dns.podman A recent change[1] in netavark makes it so we no longer set the default dns.podman search domain. As such we must no longer test for it. Follow up to 254ab3b90f ("test/system: do not check dns.podman") [1] https://github.com/containers/netavark/pull/1214 Signed-off-by: Paul Holzinger --- test/e2e/run_networking_test.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/test/e2e/run_networking_test.go b/test/e2e/run_networking_test.go index 9b984ee43c..a97ecd84e0 100644 --- a/test/e2e/run_networking_test.go +++ b/test/e2e/run_networking_test.go @@ -1174,19 +1174,6 @@ EXPOSE 2004-2005/tcp`, ALPINE) Expect(session).Should(ExitCleanly()) }) - It("podman network adds dns search domain with dns", func() { - net := createNetworkName("dnsname") - session := podmanTest.Podman([]string{"network", "create", net}) - session.WaitWithDefaultTimeout() - defer podmanTest.removeNetwork(net) - Expect(session).Should(ExitCleanly()) - - session = podmanTest.Podman([]string{"run", "--network", net, ALPINE, "cat", "/etc/resolv.conf"}) - session.WaitWithDefaultTimeout() - Expect(session).Should(ExitCleanly()) - Expect(session.OutputToString()).To(ContainSubstring("search dns.podman")) - }) - It("Rootless podman run with --net=bridge works and connects to default network", func() { // This is harmless when run as root, so we'll just let it run. ctrName := "testctr"