From 9b44b052d53b982996bb0d6d8c72df5d680ec456 Mon Sep 17 00:00:00 2001 From: Reuben Miller Date: Tue, 30 Jul 2024 10:54:31 +0200 Subject: [PATCH] increase delay in workaround for flaky unit test Signed-off-by: Reuben Miller --- crates/extensions/tedge_mqtt_bridge/tests/bridge.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/extensions/tedge_mqtt_bridge/tests/bridge.rs b/crates/extensions/tedge_mqtt_bridge/tests/bridge.rs index 52fb85f0c37..00a10cb3352 100644 --- a/crates/extensions/tedge_mqtt_bridge/tests/bridge.rs +++ b/crates/extensions/tedge_mqtt_bridge/tests/bridge.rs @@ -278,7 +278,7 @@ async fn bridge_reconnects_successfully_after_local_connection_interrupted() { // Current theory: If a sub-ack is not received, then the subscription // is not remembered by the client and not resubscribed after // a connection outage - sleep(Duration::from_millis(100)).await; + sleep(Duration::from_millis(500)).await; local_proxy.interrupt_connections(); wait_until_health_status_is("up", &mut ev_local)