From ee684667a608d866d57c0dbf8d7734efa90bfb70 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Wed, 13 Jan 2021 14:12:48 +0100 Subject: test: use stringid.GenerateNonCryptoID() in more tests Signed-off-by: Giuseppe Scrivano --- test/e2e/run_networking_test.go | 4 ++-- 1 file 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}) -- cgit v1.2.3-54-g00ecf