mirror of https://github.com/containers/podman.git
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 <pholzing@redhat.com>
This commit is contained in:
parent
5fef6b714d
commit
736ca60378
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue