From 29bba0cec854d8da513ef683c8ef6cb19cb0b1f2 Mon Sep 17 00:00:00 2001 From: Mathias Pius Date: Thu, 4 Apr 2024 14:49:14 +0200 Subject: [PATCH] Await stable firewall before applying template --- tests/firewall.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/firewall.rs b/tests/firewall.rs index 2c1acb0..5afe171 100644 --- a/tests/firewall.rs +++ b/tests/firewall.rs @@ -96,6 +96,7 @@ async fn apply_firewall_template() { let robot = crate::AsyncRobot::default(); let server = common::provisioned_server().await; + common::wait_firewall_ready(&robot, server.id).await; // Fetch the current firewall configuration. let original_firewall = robot.get_firewall(server.id).await.unwrap(); @@ -142,7 +143,6 @@ async fn delete_firewall() { let robot = crate::AsyncRobot::default(); let server = common::provisioned_server().await; - common::wait_firewall_ready(&robot, server.id).await; // Fetch the current firewall configuration.