Skip to content

Commit

Permalink
use STOP_TIMEOUT_MS const
Browse files Browse the repository at this point in the history
  • Loading branch information
shamardy committed Sep 19, 2024
1 parent 1a7c003 commit 874b294
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mm2src/mm2_main/src/wasm_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,5 +295,8 @@ async fn test_get_wallet_names() {
assert_eq!(get_wallet_names_2.activated_wallet.unwrap(), "wallet_2");

// Stop the second wallet
mm_wallet_2.stop_and_wait_for_ctx_is_dropped(1000).await.unwrap();
mm_wallet_2
.stop_and_wait_for_ctx_is_dropped(STOP_TIMEOUT_MS)
.await
.unwrap();
}

0 comments on commit 874b294

Please sign in to comment.