Signed-off-by: Lotus Fenn <fenn.lotus@gmail.com>
| ... | ... |
@@ -66,7 +66,7 @@ func TestDaemonDefaultNetworkPools(t *testing.T) {
|
| 66 | 66 |
assert.Equal(t, out.IPAM.Config[0].Subnet, "175.30.0.0/16") |
| 67 | 67 |
|
| 68 | 68 |
// Create a bridge network and verify its subnet is the second default pool |
| 69 |
- name := "elango" |
|
| 69 |
+ name := "elango" + t.Name() |
|
| 70 | 70 |
network.CreateNoError(t, context.Background(), cli, name, |
| 71 | 71 |
network.WithDriver("bridge"),
|
| 72 | 72 |
) |
| ... | ... |
@@ -75,7 +75,7 @@ func TestDaemonDefaultNetworkPools(t *testing.T) {
|
| 75 | 75 |
assert.Equal(t, out.IPAM.Config[0].Subnet, "175.33.0.0/24") |
| 76 | 76 |
|
| 77 | 77 |
// Create a bridge network and verify its subnet is the third default pool |
| 78 |
- name = "saanvi" |
|
| 78 |
+ name = "saanvi" + t.Name() |
|
| 79 | 79 |
network.CreateNoError(t, context.Background(), cli, name, |
| 80 | 80 |
network.WithDriver("bridge"),
|
| 81 | 81 |
) |
| ... | ... |
@@ -99,7 +99,7 @@ func TestDaemonRestartWithExistingNetwork(t *testing.T) {
|
| 99 | 99 |
defer cli.Close() |
| 100 | 100 |
|
| 101 | 101 |
// Create a bridge network |
| 102 |
- name := "elango" |
|
| 102 |
+ name := "elango" + t.Name() |
|
| 103 | 103 |
network.CreateNoError(t, context.Background(), cli, name, |
| 104 | 104 |
network.WithDriver("bridge"),
|
| 105 | 105 |
) |
| ... | ... |
@@ -131,7 +131,7 @@ func TestDaemonRestartWithExistingNetworkWithDefaultPoolRange(t *testing.T) {
|
| 131 | 131 |
defer cli.Close() |
| 132 | 132 |
|
| 133 | 133 |
// Create a bridge network |
| 134 |
- name := "elango" |
|
| 134 |
+ name := "elango" + t.Name() |
|
| 135 | 135 |
network.CreateNoError(t, context.Background(), cli, name, |
| 136 | 136 |
network.WithDriver("bridge"),
|
| 137 | 137 |
) |
| ... | ... |
@@ -140,7 +140,7 @@ func TestDaemonRestartWithExistingNetworkWithDefaultPoolRange(t *testing.T) {
|
| 140 | 140 |
networkip := out.IPAM.Config[0].Subnet |
| 141 | 141 |
|
| 142 | 142 |
// Create a bridge network |
| 143 |
- name = "sthira" |
|
| 143 |
+ name = "sthira" + t.Name() |
|
| 144 | 144 |
network.CreateNoError(t, context.Background(), cli, name, |
| 145 | 145 |
network.WithDriver("bridge"),
|
| 146 | 146 |
) |
| ... | ... |
@@ -154,7 +154,7 @@ func TestDaemonRestartWithExistingNetworkWithDefaultPoolRange(t *testing.T) {
|
| 154 | 154 |
"--default-address-pool", "base=175.19.0.0/16,size=24") |
| 155 | 155 |
|
| 156 | 156 |
// Create a bridge network |
| 157 |
- name = "saanvi" |
|
| 157 |
+ name = "saanvi" + t.Name() |
|
| 158 | 158 |
network.CreateNoError(t, context.Background(), cli, name, |
| 159 | 159 |
network.WithDriver("bridge"),
|
| 160 | 160 |
) |