mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
add unique names to integration/network/service_test.go
Signed-off-by: Lotus Fenn <fenn.lotus@gmail.com>
This commit is contained in:
parent
8e610b2b55
commit
f94c97d320
1 changed files with 6 additions and 6 deletions
|
@ -66,7 +66,7 @@ func TestDaemonDefaultNetworkPools(t *testing.T) {
|
|||
assert.Equal(t, out.IPAM.Config[0].Subnet, "175.30.0.0/16")
|
||||
|
||||
// Create a bridge network and verify its subnet is the second default pool
|
||||
name := "elango"
|
||||
name := "elango" + t.Name()
|
||||
network.CreateNoError(t, context.Background(), cli, name,
|
||||
network.WithDriver("bridge"),
|
||||
)
|
||||
|
@ -75,7 +75,7 @@ func TestDaemonDefaultNetworkPools(t *testing.T) {
|
|||
assert.Equal(t, out.IPAM.Config[0].Subnet, "175.33.0.0/24")
|
||||
|
||||
// Create a bridge network and verify its subnet is the third default pool
|
||||
name = "saanvi"
|
||||
name = "saanvi" + t.Name()
|
||||
network.CreateNoError(t, context.Background(), cli, name,
|
||||
network.WithDriver("bridge"),
|
||||
)
|
||||
|
@ -99,7 +99,7 @@ func TestDaemonRestartWithExistingNetwork(t *testing.T) {
|
|||
defer cli.Close()
|
||||
|
||||
// Create a bridge network
|
||||
name := "elango"
|
||||
name := "elango" + t.Name()
|
||||
network.CreateNoError(t, context.Background(), cli, name,
|
||||
network.WithDriver("bridge"),
|
||||
)
|
||||
|
@ -131,7 +131,7 @@ func TestDaemonRestartWithExistingNetworkWithDefaultPoolRange(t *testing.T) {
|
|||
defer cli.Close()
|
||||
|
||||
// Create a bridge network
|
||||
name := "elango"
|
||||
name := "elango" + t.Name()
|
||||
network.CreateNoError(t, context.Background(), cli, name,
|
||||
network.WithDriver("bridge"),
|
||||
)
|
||||
|
@ -140,7 +140,7 @@ func TestDaemonRestartWithExistingNetworkWithDefaultPoolRange(t *testing.T) {
|
|||
networkip := out.IPAM.Config[0].Subnet
|
||||
|
||||
// Create a bridge network
|
||||
name = "sthira"
|
||||
name = "sthira" + t.Name()
|
||||
network.CreateNoError(t, context.Background(), cli, name,
|
||||
network.WithDriver("bridge"),
|
||||
)
|
||||
|
@ -154,7 +154,7 @@ func TestDaemonRestartWithExistingNetworkWithDefaultPoolRange(t *testing.T) {
|
|||
"--default-address-pool", "base=175.19.0.0/16,size=24")
|
||||
|
||||
// Create a bridge network
|
||||
name = "saanvi"
|
||||
name = "saanvi" + t.Name()
|
||||
network.CreateNoError(t, context.Background(), cli, name,
|
||||
network.WithDriver("bridge"),
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue