summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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?;