From 554463bfae700e039c1e045ceb9eab7b9f7f8879 Mon Sep 17 00:00:00 2001 From: Venkkatesh Sekar Date: Thu, 12 Feb 2026 15:44:02 +0000 Subject: [PATCH 1/3] fix --- rs/rust_canisters/canister_creator/test/test.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rs/rust_canisters/canister_creator/test/test.rs b/rs/rust_canisters/canister_creator/test/test.rs index 5e76c4263adb..336845b8a5da 100644 --- a/rs/rust_canisters/canister_creator/test/test.rs +++ b/rs/rust_canisters/canister_creator/test/test.rs @@ -14,9 +14,9 @@ use ic_state_machine_tests::StateMachine; // to 3_991_081 + 32_064 = 4_023_145. // // 4. Bumping the candid version to v.0.10.22 increased the memory -// further from 4_023_145 to 4_024_201 which is 1_056 bytes. -const CANISTER_CREATOR_CANISTER_MEMORY_USAGE_BYTES: u64 = 4_024_201; - +// further from 4_023_145 to 4_024_201 which is 1_056 bytes. However, +// this varies on some runs, so the upper limit is set at 4_025_000. +const CANISTER_CREATOR_CANISTER_MEMORY_USAGE_BYTES: u64 = 4_025_000; const HELLO_WORLD_WAT: &str = r#" (module (func $hi) From 410fad89dace1999363798ec5722011bc01b6db8 Mon Sep 17 00:00:00 2001 From: Venkkatesh Sekar Date: Thu, 12 Feb 2026 15:49:19 +0000 Subject: [PATCH 2/3] . --- rs/rust_canisters/canister_creator/test/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rs/rust_canisters/canister_creator/test/test.rs b/rs/rust_canisters/canister_creator/test/test.rs index 336845b8a5da..c5a1be96006f 100644 --- a/rs/rust_canisters/canister_creator/test/test.rs +++ b/rs/rust_canisters/canister_creator/test/test.rs @@ -13,7 +13,7 @@ use ic_state_machine_tests::StateMachine; // the memory usage grew by extra 1_002 x 32 = 32_064B // to 3_991_081 + 32_064 = 4_023_145. // -// 4. Bumping the candid version to v.0.10.22 increased the memory +// 4. Bumping the candid version to v0.10.22 increased the memory // further from 4_023_145 to 4_024_201 which is 1_056 bytes. However, // this varies on some runs, so the upper limit is set at 4_025_000. const CANISTER_CREATOR_CANISTER_MEMORY_USAGE_BYTES: u64 = 4_025_000; From 60a2b3399fd0ea05e03c4807fd0bd077a8c70f22 Mon Sep 17 00:00:00 2001 From: Venkkatesh Sekar Date: Thu, 12 Feb 2026 16:00:38 +0000 Subject: [PATCH 3/3] test