summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-10 12:24:28 +0000
committerGitHub <noreply@github.com>2020-11-10 12:24:28 +0000
commitc20970f2b4de458afb631d3afdae30bfa0f686e5 (patch)
tree49714348f89b8adbea0e9340cf9b057268f29795 /test
parenta64c6dc90a6d315bc4cccae9fbd13788daa23fb7 (diff)
parentddadc99e99825571dbc30da365ec4be9e90a40e9 (diff)
downloadpodman-c20970f2b4de458afb631d3afdae30bfa0f686e5.tar.gz
podman-c20970f2b4de458afb631d3afdae30bfa0f686e5.tar.bz2
podman-c20970f2b4de458afb631d3afdae30bfa0f686e5.zip
Merge pull request #8286 from baude/dnsnamecleanup
make network name uniq for dnsname tests
Diffstat (limited to 'test')
-rw-r--r--test/e2e/run_networking_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/e2e/run_networking_test.go b/test/e2e/run_networking_test.go
index a3cc352b1..e9c1bab21 100644
--- a/test/e2e/run_networking_test.go
+++ b/test/e2e/run_networking_test.go
@@ -6,6 +6,7 @@ import (
"strings"
. "github.com/containers/podman/v2/test/utils"
+ "github.com/containers/storage/pkg/stringid"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/uber/jaeger-client-go/utils"
@@ -601,11 +602,11 @@ var _ = Describe("Podman run networking", func() {
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(BeZero())
- net := "dnsNetTest"
+ net := "IntTest" + stringid.GenerateNonCryptoID()
session = podmanTest.Podman([]string{"network", "create", net})
session.WaitWithDefaultTimeout()
- Expect(session.ExitCode()).To(BeZero())
defer podmanTest.removeCNINetwork(net)
+ Expect(session.ExitCode()).To(BeZero())
pod2 := "testpod2"
session = podmanTest.Podman([]string{"pod", "create", "--network", net, "--name", pod2})