Increase regtest timeout values for Linux CI

This commit is contained in:
Franck Royer 2020-12-04 12:54:48 +11:00
parent 624716d8a7
commit 247a993b55
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -41,9 +41,9 @@ mod regtest {
use super::*; use super::*;
// In test, set to 5 seconds to fail fast // In test, set to 5 seconds to fail fast
pub static BOB_TIME_TO_ACT: Lazy<Duration> = Lazy::new(|| Duration::from_secs(5)); pub static BOB_TIME_TO_ACT: Lazy<Duration> = Lazy::new(|| Duration::from_secs(10));
pub static BITCOIN_FINALITY_CONFIRMATIONS: u32 = 1; pub static BITCOIN_FINALITY_CONFIRMATIONS: u32 = 1;
pub static BITCOIN_AVG_BLOCK_TIME: Lazy<Duration> = Lazy::new(|| Duration::from_secs(1)); pub static BITCOIN_AVG_BLOCK_TIME: Lazy<Duration> = Lazy::new(|| Duration::from_secs(5));
} }