Skip to content

Commit

Permalink
test: use stringid.GenerateNonCryptoID() in more tests
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Scrivano <[email protected]>
  • Loading branch information
giuseppe committed Jan 13, 2021
1 parent bfa470e commit ee68466
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/run_networking_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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})
Expand Down

0 comments on commit ee68466

Please sign in to comment.