diff --git a/mm2src/coins/eth/eth_tests.rs b/mm2src/coins/eth/eth_tests.rs index 96721c4f55..da7bca7ded 100644 --- a/mm2src/coins/eth/eth_tests.rs +++ b/mm2src/coins/eth/eth_tests.rs @@ -253,6 +253,7 @@ fn test_wei_from_big_decimal() { } #[test] +#[ignore] fn test_nonce_several_urls() { let (_ctx, coin) = eth_coin_for_test(EthCoinType::Eth, &[ETH_DEV_NODE, "http://195.201.0.6:8989", "https://rpc2.sepolia.org"], None); @@ -420,6 +421,7 @@ fn test_withdraw_impl_fee_details() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_nonce_lock() { use futures::future::join_all; diff --git a/mm2src/coins/utxo/utxo_tests.rs b/mm2src/coins/utxo/utxo_tests.rs index 153312e720..0077a5c409 100644 --- a/mm2src/coins/utxo/utxo_tests.rs +++ b/mm2src/coins/utxo/utxo_tests.rs @@ -507,6 +507,7 @@ fn test_wait_for_payment_spend_timeout_electrum() { } #[test] +#[ignore] fn test_search_for_swap_tx_spend_electrum_was_spent() { let secret = [0; 32]; let client = electrum_client_for_test(DOC_ELECTRUM_ADDRS); @@ -542,6 +543,7 @@ fn test_search_for_swap_tx_spend_electrum_was_spent() { } #[test] +#[ignore] fn test_search_for_swap_tx_spend_electrum_was_refunded() { let secret_hash = [0; 20]; let client = electrum_client_for_test(DOC_ELECTRUM_ADDRS); @@ -4314,6 +4316,7 @@ fn test_tx_enum_from_bytes() { } #[test] +#[ignore] fn test_hd_utxo_tx_history() { let client = electrum_client_for_test(MARTY_ELECTRUM_ADDRS); block_on(utxo_common_tests::test_hd_utxo_tx_history_impl(client)); diff --git a/mm2src/coins/utxo/utxo_wasm_tests.rs b/mm2src/coins/utxo/utxo_wasm_tests.rs index a33e1ba039..959f9007b5 100644 --- a/mm2src/coins/utxo/utxo_wasm_tests.rs +++ b/mm2src/coins/utxo/utxo_wasm_tests.rs @@ -72,6 +72,7 @@ async fn test_electrum_display_balances() { } #[wasm_bindgen_test] +#[ignore] async fn test_hd_utxo_tx_history() { let rpc_client = electrum_client_for_test(DOC_ELECTRUM_ADDRS).await; utxo_common_tests::test_hd_utxo_tx_history_impl(rpc_client).await; diff --git a/mm2src/mm2_main/tests/mm2_tests/best_orders_tests.rs b/mm2src/mm2_main/tests/mm2_tests/best_orders_tests.rs index c540f2f328..ca401dbfcb 100644 --- a/mm2src/mm2_main/tests/mm2_tests/best_orders_tests.rs +++ b/mm2src/mm2_main/tests/mm2_tests/best_orders_tests.rs @@ -15,6 +15,7 @@ use std::time::Duration; use uuid::Uuid; #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_best_orders() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -179,6 +180,7 @@ fn test_best_orders() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_best_orders_v2_by_number() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -302,6 +304,7 @@ fn test_best_orders_v2_by_number() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_best_orders_v2_by_volume() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -422,6 +425,7 @@ fn test_best_orders_v2_by_volume() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_best_orders_v2_exclude_mine() { let coins = json!([rick_conf(), morty_conf(), eth_testnet_conf(), eth_jst_testnet_conf()]); @@ -671,6 +675,7 @@ fn test_best_orders_no_duplicates_after_update() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_best_orders_filter_response() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); diff --git a/mm2src/mm2_main/tests/mm2_tests/eth_tests.rs b/mm2src/mm2_main/tests/mm2_tests/eth_tests.rs index 6a14a02eda..4d4c6f9223 100644 --- a/mm2src/mm2_main/tests/mm2_tests/eth_tests.rs +++ b/mm2src/mm2_main/tests/mm2_tests/eth_tests.rs @@ -76,6 +76,7 @@ async fn enable_eth_with_tokens_without_balance( } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_disable_eth_coin_with_token() { let passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -121,6 +122,7 @@ fn test_disable_eth_coin_with_token() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_disable_eth_coin_with_token_without_balance() { let passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); diff --git a/mm2src/mm2_main/tests/mm2_tests/lp_bot_tests.rs b/mm2src/mm2_main/tests/mm2_tests/lp_bot_tests.rs index 63ed8f3f4e..1af7950877 100644 --- a/mm2src/mm2_main/tests/mm2_tests/lp_bot_tests.rs +++ b/mm2src/mm2_main/tests/mm2_tests/lp_bot_tests.rs @@ -5,6 +5,7 @@ use mm2_test_helpers::for_tests::MarketMakerIt; use serde_json::json; #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_start_and_stop_simple_market_maker_bot() { let coins = json!([ diff --git a/mm2src/mm2_main/tests/mm2_tests/mm2_tests_inner.rs b/mm2src/mm2_main/tests/mm2_tests/mm2_tests_inner.rs index 1b60232955..edf20bd869 100644 --- a/mm2src/mm2_main/tests/mm2_tests/mm2_tests_inner.rs +++ b/mm2src/mm2_main/tests/mm2_tests/mm2_tests_inner.rs @@ -874,6 +874,7 @@ async fn trade_base_rel_electrum( } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn trade_test_electrum_and_eth_coins() { let bob_policy = Mm2InitPrivKeyPolicy::Iguana; @@ -979,6 +980,7 @@ fn withdraw_and_send( } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_withdraw_and_send() { let alice_passphrase = get_passphrase!(".env.client", "ALICE_PASSPHRASE").unwrap(); @@ -2220,6 +2222,7 @@ fn check_priv_key(mm: &MarketMakerIt, coin: &str, expected_priv_key: &str) { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] // https://github.com/KomodoPlatform/atomicDEX-API/issues/519#issuecomment-589149811 fn test_show_priv_key() { @@ -2443,6 +2446,7 @@ fn setprice_buy_sell_too_low_volume() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_fill_or_kill_taker_order_should_not_transform_to_maker() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -2511,6 +2515,7 @@ fn test_fill_or_kill_taker_order_should_not_transform_to_maker() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_gtc_taker_order_should_transform_to_maker() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -2584,6 +2589,7 @@ fn test_gtc_taker_order_should_transform_to_maker() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_set_price_must_save_order_to_db() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -2637,6 +2643,7 @@ fn test_set_price_must_save_order_to_db() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_set_price_response_format() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -3761,6 +3768,7 @@ fn test_convert_qrc20_address() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_validateaddress() { let coins = json!([rick_conf(), morty_conf(), eth_testnet_conf(), eth_jst_testnet_conf(),]); @@ -4080,6 +4088,7 @@ fn qrc20_activate_electrum() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_qrc20_withdraw() { // corresponding private key: [3, 98, 177, 3, 108, 39, 234, 144, 131, 178, 103, 103, 127, 80, 230, 166, 53, 68, 147, 215, 42, 216, 144, 72, 172, 110, 180, 13, 123, 179, 10, 49] @@ -4711,6 +4720,7 @@ fn test_tx_history_tbtc_non_segwit() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_buy_conf_settings() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -4784,6 +4794,7 @@ fn test_buy_conf_settings() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_buy_response_format() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -4884,6 +4895,7 @@ fn test_sell_response_format() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_my_orders_response_format() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -4959,6 +4971,7 @@ fn test_my_orders_response_format() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_my_orders_after_matched() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -5044,6 +5057,7 @@ fn test_my_orders_after_matched() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_sell_conf_settings() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -5117,6 +5131,7 @@ fn test_sell_conf_settings() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_set_price_conf_settings() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -5531,6 +5546,7 @@ fn test_update_maker_order_fail() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_update_maker_order_after_matched() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -5863,6 +5879,7 @@ fn test_orderbook_is_mine_orders() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_sell_min_volume() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -5936,6 +5953,7 @@ fn test_sell_min_volume() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_sell_min_volume_dust() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -6035,6 +6053,7 @@ fn test_setprice_min_volume_dust() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_buy_min_volume() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -6145,6 +6164,7 @@ fn request_and_check_orderbook_depth(mm_alice: &MarketMakerIt) { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_orderbook_depth() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -7446,6 +7466,7 @@ fn test_tbtc_block_header_sync() { } #[test] +#[ignore] #[cfg(not(target_arch = "wasm32"))] fn test_enable_coins_with_enable_hd() { const TX_HISTORY: bool = false; @@ -7645,6 +7666,7 @@ fn test_get_shared_db_id() { } #[test] +#[ignore] fn test_eth_swap_contract_addr_negotiation_same_fallback() { let bob_passphrase = get_passphrase!(".env.seed", "BOB_PASSPHRASE").unwrap(); let alice_passphrase = get_passphrase!(".env.client", "ALICE_PASSPHRASE").unwrap(); @@ -7733,6 +7755,7 @@ fn test_eth_swap_contract_addr_negotiation_same_fallback() { } #[test] +#[ignore] fn test_eth_swap_negotiation_fails_maker_no_fallback() { let bob_passphrase = get_passphrase!(".env.seed", "BOB_PASSPHRASE").unwrap(); let alice_passphrase = get_passphrase!(".env.client", "ALICE_PASSPHRASE").unwrap(); diff --git a/mm2src/mm2_main/tests/mm2_tests/orderbook_sync_tests.rs b/mm2src/mm2_main/tests/mm2_tests/orderbook_sync_tests.rs index 00ac53672f..4a920d29c0 100644 --- a/mm2src/mm2_main/tests/mm2_tests/orderbook_sync_tests.rs +++ b/mm2src/mm2_main/tests/mm2_tests/orderbook_sync_tests.rs @@ -1043,6 +1043,7 @@ fn orderbook_should_display_base_rel_volumes() { } #[test] +#[ignore] // https://github.com/KomodoPlatform/atomicDEX-API/issues/670 fn orderbook_should_work_without_coins_activation() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap(); @@ -1195,6 +1196,7 @@ fn test_all_orders_per_pair_per_node_must_be_displayed_in_orderbook() { } #[test] +#[ignore] // https://github.com/KomodoPlatform/atomicDEX-API/issues/473 fn setprice_min_volume_should_be_displayed_in_orderbook() { let bob_passphrase = get_passphrase(&".env.seed", "BOB_PASSPHRASE").unwrap();