Fix race with concurrent daemon startup in tests
| ... | ... |
@@ -59,9 +59,9 @@ func TestDaemonRestartKillContainers(t *testing.T) {
|
| 59 | 59 |
t.Fatal(err) |
| 60 | 60 |
} |
| 61 | 61 |
|
| 62 |
- var args []string |
|
| 62 |
+ args := []string{"--iptables=false"}
|
|
| 63 | 63 |
if liveRestoreEnabled {
|
| 64 |
- args = []string{"--live-restore"}
|
|
| 64 |
+ args = append(args, "--live-restore") |
|
| 65 | 65 |
} |
| 66 | 66 |
|
| 67 | 67 |
d.StartWithBusybox(t, args...) |