From 247a993b55fa1323b1eec357aa5e77c79338c1bd Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Fri, 4 Dec 2020 12:54:48 +1100 Subject: [PATCH] Increase regtest timeout values for Linux CI --- xmr-btc/src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmr-btc/src/config.rs b/xmr-btc/src/config.rs index 0a635e26..cc0a7d5a 100644 --- a/xmr-btc/src/config.rs +++ b/xmr-btc/src/config.rs @@ -41,9 +41,9 @@ mod regtest { use super::*; // In test, set to 5 seconds to fail fast - pub static BOB_TIME_TO_ACT: Lazy = Lazy::new(|| Duration::from_secs(5)); + pub static BOB_TIME_TO_ACT: Lazy = Lazy::new(|| Duration::from_secs(10)); pub static BITCOIN_FINALITY_CONFIRMATIONS: u32 = 1; - pub static BITCOIN_AVG_BLOCK_TIME: Lazy = Lazy::new(|| Duration::from_secs(1)); + pub static BITCOIN_AVG_BLOCK_TIME: Lazy = Lazy::new(|| Duration::from_secs(5)); }