From d1636ca05f3be1fe0134f0a6a347dd93fa1f6f94 Mon Sep 17 00:00:00 2001 From: ravibazz Date: Tue, 12 Nov 2024 20:16:16 +0530 Subject: [PATCH] fix test --- ...tor_as_maxed_out_once_backup_canisters_are_consumed.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/integration_tests/tests/subnet_orchestrator/test_mark_subnet_orchestrator_as_maxed_out_once_backup_canisters_are_consumed.rs b/src/lib/integration_tests/tests/subnet_orchestrator/test_mark_subnet_orchestrator_as_maxed_out_once_backup_canisters_are_consumed.rs index f34eb3d3..4fce7686 100644 --- a/src/lib/integration_tests/tests/subnet_orchestrator/test_mark_subnet_orchestrator_as_maxed_out_once_backup_canisters_are_consumed.rs +++ b/src/lib/integration_tests/tests/subnet_orchestrator/test_mark_subnet_orchestrator_as_maxed_out_once_backup_canisters_are_consumed.rs @@ -191,6 +191,10 @@ fn test_mark_subnet_orchestrator_as_maxed_out_once_backup_canisters_are_consumed .unwrap(); } + for _ in 0..5 { + pocket_ic.tick(); + } + let subnet_orchestrator_with_capacity_left = pocket_ic .query_call( platform_canister_id, @@ -230,10 +234,6 @@ fn test_mark_subnet_orchestrator_as_maxed_out_once_backup_canisters_are_consumed assert_eq!(subnet_available_canister_cnt, 0); - for _ in 0..5 { - pocket_ic.tick(); - } - let subnet_backup_canister_cnt = pocket_ic .query_call( subnet_orchestrator_canister_id,