Skip to content

Commit 736ca60

Browse files
committed
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 254ab3b ("test/system: do not check dns.podman") [1] containers/netavark#1214 Signed-off-by: Paul Holzinger <[email protected]>
1 parent 5fef6b7 commit 736ca60

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

test/e2e/run_networking_test.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,19 +1174,6 @@ EXPOSE 2004-2005/tcp`, ALPINE)
11741174
Expect(session).Should(ExitCleanly())
11751175
})
11761176

1177-
It("podman network adds dns search domain with dns", func() {
1178-
net := createNetworkName("dnsname")
1179-
session := podmanTest.Podman([]string{"network", "create", net})
1180-
session.WaitWithDefaultTimeout()
1181-
defer podmanTest.removeNetwork(net)
1182-
Expect(session).Should(ExitCleanly())
1183-
1184-
session = podmanTest.Podman([]string{"run", "--network", net, ALPINE, "cat", "/etc/resolv.conf"})
1185-
session.WaitWithDefaultTimeout()
1186-
Expect(session).Should(ExitCleanly())
1187-
Expect(session.OutputToString()).To(ContainSubstring("search dns.podman"))
1188-
})
1189-
11901177
It("Rootless podman run with --net=bridge works and connects to default network", func() {
11911178
// This is harmless when run as root, so we'll just let it run.
11921179
ctrName := "testctr"

0 commit comments

Comments
 (0)