diff --git a/tests/integration/checkpoint.bats b/tests/integration/checkpoint.bats index 0d6dce4c9..539b83dbd 100644 --- a/tests/integration/checkpoint.bats +++ b/tests/integration/checkpoint.bats @@ -25,6 +25,7 @@ function setup() { # Create a dummy interface to move to the container. ip link add dummy0 type dummy + udevadm settle } function teardown() { diff --git a/tests/integration/netdev.bats b/tests/integration/netdev.bats index b14ad834a..6dddbab07 100644 --- a/tests/integration/netdev.bats +++ b/tests/integration/netdev.bats @@ -28,6 +28,7 @@ function setup() { # Create a dummy interface to move to the container. ip link add dummy0 type dummy + udevadm settle } function teardown() { diff --git a/tests/integration/userns.bats b/tests/integration/userns.bats index 1f2e83400..b4ae16249 100644 --- a/tests/integration/userns.bats +++ b/tests/integration/userns.bats @@ -252,6 +252,7 @@ function teardown() { # Create a dummy interface to move to the container. ip link add dummy0 type dummy + udevadm settle update_config ' .linux.netDevices |= {"dummy0": {} } | .process.args |= ["ip", "address", "show", "dev", "dummy0"]' @@ -269,6 +270,7 @@ function teardown() { # Create a dummy interface to move to the container. ip link add dummy0 type dummy + udevadm settle update_config ' .linux.netDevices |= { "dummy0": { "name" : "ctr_dummy0" } } | .process.args |= ["ip", "address", "show", "dev", "ctr_dummy0"]'