Skip to content

Commit

Permalink
test(ICP_Rosetta): FI-1646: Address ICP Rosetta integration tests fla…
Browse files Browse the repository at this point in the history
…kiness (#3534)

Limit the parallelization and dedicate resources to flaky ICP Rosetta
integration tests.
  • Loading branch information
mbjorkqvist authored Jan 21, 2025
1 parent be8de19 commit 83c1bbf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions rs/rosetta-api/icp/tests/integration_tests/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ rust_test_suite(
"//rs/canister_sandbox:sandbox_launcher",
"//rs/ledger_suite/icp/ledger:ledger-canister-wasm-notify-method",
"//rs/pocket_ic_server:pocket-ic-server",
"//rs/replica",
"//rs/rosetta-api/icp:ic-rosetta-api-rosetta-blocks",
"//rs/rosetta-api/icp/test_utils/sender_canister:ic-sender-canister",
"@mainnet_icp_ledger_canister//file",
Expand All @@ -52,8 +51,8 @@ rust_test_suite(
"CANISTER_LAUNCHER": "$(rootpath //rs/canister_sandbox)",
"LEDGER_CANISTER_NOTIFY_METHOD_WASM_PATH": "$(rootpath //rs/ledger_suite/icp/ledger:ledger-canister-wasm-notify-method)",
"POCKET_IC_BIN": "$(rootpath //rs/pocket_ic_server:pocket-ic-server)",
"REPLICA_BIN": "$(rootpath //rs/replica)",
"ROSETTA_PATH": "$(rootpath //rs/rosetta-api/icp:ic-rosetta-api-rosetta-blocks)",
"RUST_TEST_THREADS": "4",
"SANDBOX_LAUNCHER": "$(rootpath //rs/canister_sandbox:sandbox_launcher)",
"IC_SENDER_CANISTER_WASM_PATH": "$(rootpath //rs/rosetta-api/icp/test_utils/sender_canister:ic-sender-canister)",
"ICP_LEDGER_DEPLOYED_VERSION_WASM_PATH": "$(rootpath @mainnet_icp_ledger_canister//file)",
Expand All @@ -63,8 +62,7 @@ rust_test_suite(
flaky = True,
proc_macro_deps = [
],
# The test runs replica binary that constantly uses more than 100% cpu core + rosetta server.
tags = ["cpu:3"],
tags = ["cpu:4"],
deps = DEPENDENCIES + [
":rosetta-integration-tests-lib",
"//rs/rosetta-api/icp/test_utils/sender_canister:ic_sender_canister_lib",
Expand Down

0 comments on commit 83c1bbf

Please sign in to comment.