mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-13 16:55:57 -04:00
test: Increase time to act for Bob
This commit is contained in:
parent
f24f77fcd1
commit
f574787700
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue