Skip to content

Commit

Permalink
Limit parallelization and dedicate resources to ICP Rosetta integrati…
Browse files Browse the repository at this point in the history
…on tests
  • Loading branch information
mbjorkqvist committed Jan 20, 2025
1 parent 91e4183 commit 9f331af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rs/rosetta-api/icp/tests/integration_tests/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ rust_test_suite(
"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 +64,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 9f331af

Please sign in to comment.