test: Increase time to act for Bob

This commit is contained in:
Franck Royer 2021-01-21 19:16:11 +11:00
parent f24f77fcd1
commit f574787700
No known key found for this signature in database
GPG key ID: A82ED75A8DFC50A4

View file

@ -95,8 +95,9 @@ mod testnet {
mod regtest { mod regtest {
use super::*; use super::*;
// In test, we set a shorter time to fail fast // In test, we set a shorter time to fail fast but not so short that it makes
pub static BOB_TIME_TO_ACT: Lazy<Duration> = Lazy::new(|| Duration::from_secs(30)); // the test fail
pub static BOB_TIME_TO_ACT: Lazy<Duration> = Lazy::new(|| Duration::from_secs(10 * 60));
pub static BITCOIN_FINALITY_CONFIRMATIONS: u32 = 1; pub static BITCOIN_FINALITY_CONFIRMATIONS: u32 = 1;