From f574787700ff9ddcbf5b95b752a6ce052ed4f6a1 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Thu, 21 Jan 2021 19:16:11 +1100 Subject: [PATCH] test: Increase time to act for Bob --- swap/src/config.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/swap/src/config.rs b/swap/src/config.rs index 8ef318c2..b0ea5d4f 100644 --- a/swap/src/config.rs +++ b/swap/src/config.rs @@ -95,8 +95,9 @@ mod testnet { mod regtest { use super::*; - // In test, we set a shorter time to fail fast - pub static BOB_TIME_TO_ACT: Lazy = Lazy::new(|| Duration::from_secs(30)); + // In test, we set a shorter time to fail fast but not so short that it makes + // the test fail + pub static BOB_TIME_TO_ACT: Lazy = Lazy::new(|| Duration::from_secs(10 * 60)); pub static BITCOIN_FINALITY_CONFIRMATIONS: u32 = 1;