Skip to content

Commit

Permalink
Functional tests: Recover alice pre lock wait for lock
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCharlatan committed Jun 24, 2022
1 parent 21046fe commit 93610cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/functional-swap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,9 @@ async fn run_restore_checkpoint_bob_pre_buy_alice_pre_lock(
println!("waiting for the bitcoin funding info to clear");
retry_until_funding_info_cleared(swap_id.clone(), cli_bob_needs_funding_args.clone()).await;

// wait a bit for the lock tx to be published
tokio::time::sleep(time::Duration::from_secs(1)).await;

// kill all the daemons and start them again
cleanup_processes(vec![farcasterd_maker, farcasterd_taker]);
let (farcasterd_maker, _, farcasterd_taker, _) = setup_farcaster_clients().await;
Expand Down

0 comments on commit 93610cd

Please sign in to comment.