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 {
use super::*;
// In test, we set a shorter time to fail fast
pub static BOB_TIME_TO_ACT: Lazy<Duration> = 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<Duration> = Lazy::new(|| Duration::from_secs(10 * 60));
pub static BITCOIN_FINALITY_CONFIRMATIONS: u32 = 1;