From 874b294e54041a498910e39a444007b379c4b0f1 Mon Sep 17 00:00:00 2001 From: shamardy Date: Thu, 19 Sep 2024 11:47:03 +0300 Subject: [PATCH] use STOP_TIMEOUT_MS const --- mm2src/mm2_main/src/wasm_tests.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mm2src/mm2_main/src/wasm_tests.rs b/mm2src/mm2_main/src/wasm_tests.rs index c73047cb20..bd24bf4a4c 100644 --- a/mm2src/mm2_main/src/wasm_tests.rs +++ b/mm2src/mm2_main/src/wasm_tests.rs @@ -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(); }