mirror of
https://github.com/containers/podman.git
synced 2025-08-01 07:40:22 +08:00
Remove test for pod/container name global uniqueness
We're removing this constraint from the database, so we should not be verifying it in CI anymore. Signed-off-by: Matt Heon <mheon@redhat.com>
This commit is contained in:
@ -76,20 +76,6 @@ var _ = Describe("Podman pod create", func() {
|
||||
Expect(check.OutputToStringArray()).To(HaveLen(1))
|
||||
})
|
||||
|
||||
It("podman create pod with same name as ctr", func() {
|
||||
name := "test"
|
||||
session := podmanTest.Podman([]string{"create", "--name", name, ALPINE, "ls"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session).Should(Exit(0))
|
||||
|
||||
_, ec, _ := podmanTest.CreatePod(map[string][]string{"--name": {name}})
|
||||
Expect(ec).To(Not(Equal(0)))
|
||||
|
||||
check := podmanTest.Podman([]string{"pod", "ps", "-q"})
|
||||
check.WaitWithDefaultTimeout()
|
||||
Expect(check.OutputToStringArray()).To(BeEmpty())
|
||||
})
|
||||
|
||||
It("podman create pod without network portbindings", func() {
|
||||
name := "test"
|
||||
session := podmanTest.Podman([]string{"pod", "create", "--name", name})
|
||||
|
Reference in New Issue
Block a user