diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2021-01-13 14:12:48 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2021-01-13 17:04:52 +0100 |
commit | ee684667a608d866d57c0dbf8d7734efa90bfb70 (patch) | |
tree | 874859f172ff50ad3773fdd6926c0510d5f870a6 /test | |
parent | bfa470e4bc0690cb498c369b5a6412a1f758c4bc (diff) | |
download | podman-ee684667a608d866d57c0dbf8d7734efa90bfb70.tar.gz podman-ee684667a608d866d57c0dbf8d7734efa90bfb70.tar.bz2 podman-ee684667a608d866d57c0dbf8d7734efa90bfb70.zip |
test: use stringid.GenerateNonCryptoID() in more tests
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/run_networking_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/run_networking_test.go b/test/e2e/run_networking_test.go index e4c5a41c5..cbaae7186 100644 --- a/test/e2e/run_networking_test.go +++ b/test/e2e/run_networking_test.go @@ -622,7 +622,7 @@ var _ = Describe("Podman run networking", func() { It("podman run in custom CNI network with --static-ip", func() { SkipIfRootless("Rootless mode does not support --ip") - netName := "podmantestnetwork" + netName := stringid.GenerateNonCryptoID() ipAddr := "10.25.30.128" create := podmanTest.Podman([]string{"network", "create", "--subnet", "10.25.30.0/24", netName}) create.WaitWithDefaultTimeout() @@ -659,7 +659,7 @@ var _ = Describe("Podman run networking", func() { It("podman run with new:pod and static-ip", func() { SkipIfRootless("Rootless does not support --ip") - netName := "podmantestnetwork2" + netName := stringid.GenerateNonCryptoID() ipAddr := "10.25.40.128" podname := "testpod" create := podmanTest.Podman([]string{"network", "create", "--subnet", "10.25.40.0/24", netName}) |