Skip to content

Commit

Permalink
Tweak watchers tests to be more stable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Vitae committed Jan 30, 2024
1 parent 57352d2 commit c6ea8fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm2src/mm2_main/tests/docker_tests/swap_watcher_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ fn start_swaps_and_get_balances(
block_on(mm_bob.stop()).unwrap();
}
if !matches!(swap_flow, SwapFlow::TakerSpendsMakerPayment) {
block_on(mm_alice.wait_for_log(120., |log| log.contains("Taker payment confirmed"))).unwrap();
block_on(mm_alice.wait_for_log(120., |log| log.contains(WATCHER_MESSAGE_SENT_LOG))).unwrap();
alice_acoin_balance_middle = block_on(my_balance(&mm_alice, a_coin)).balance;
alice_bcoin_balance_middle = block_on(my_balance(&mm_alice, b_coin)).balance;
alice_eth_balance_middle = block_on(my_balance(&mm_alice, "ETH")).balance;
Expand Down

0 comments on commit c6ea8fa

Please sign in to comment.