From ea961019c84d8666071307b6676168c271801607 Mon Sep 17 00:00:00 2001 From: Mariusz Klochowicz Date: Fri, 26 Nov 2021 12:02:46 +1030 Subject: [PATCH] Increase the timeout in debug mode to fix CI/bors Contract setup test keeps failing when bors runs it. Note: contract setup got recently refactored into a dedicated actor, this might have increased the time it takes to finish the process. --- daemon/tests/harness/flow.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/tests/harness/flow.rs b/daemon/tests/harness/flow.rs index 4a0cabe..b98a786 100644 --- a/daemon/tests/harness/flow.rs +++ b/daemon/tests/harness/flow.rs @@ -6,7 +6,7 @@ use std::time::Duration; use tokio::sync::watch; /// Waiting time for the time on the watch channel before returning error -const NEXT_WAIT_TIME: Duration = Duration::from_secs(if cfg!(debug_assertions) { 120 } else { 30 }); +const NEXT_WAIT_TIME: Duration = Duration::from_secs(if cfg!(debug_assertions) { 180 } else { 30 }); /// Returns the first `Cfd` from both channels ///