summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2025-10-20 17:42:26 +0200
committerDavid Lönnhager <david.l@mullvad.net>2025-10-20 17:42:26 +0200
commit86381f039621ad181261a0c3338ecd0db859432b (patch)
tree5213c2254b705414f38b3543c306b058092b8121
parente3b8ebee0fd55233d1cf226dbcf05db8694e3c44 (diff)
downloadmullvadvpn-test-macos.tar.xz
mullvadvpn-test-macos.zip
aijodsftest-macos
-rw-r--r--test/test-manager/src/vm/tart.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-manager/src/vm/tart.rs b/test/test-manager/src/vm/tart.rs
index 5300a6ccb3..aafde6b0f4 100644
--- a/test/test-manager/src/vm/tart.rs
+++ b/test/test-manager/src/vm/tart.rs
@@ -42,6 +42,8 @@ pub async fn run(config: &Config, vm_config: &VmConfig) -> Result<TartInstance>
.await
.context("Failed to set up networking")?;
+ tokio::time::sleep(Duration::from_secs(1)).await;
+
// Create a temporary clone of the machine
let machine_copy = if config.runtime_opts.keep_changes {
MachineCopy::borrow_vm(&vm_config.image_path)
@@ -130,6 +132,8 @@ pub async fn run(config: &Config, vm_config: &VmConfig) -> Result<TartInstance>
log::error!("ping output: {:?}", out);
}
+ tokio::time::sleep(Duration::from_secs(1)).await;
+
// The tunnel must be configured after the virtual machine is up, or macOS refuses to assign an
// IP. The reasons for this are poorly understood.
crate::vm::network::macos::configure_tunnel(ip_addr).await?;