From 64cbecb000a595e803cd551f9e44dc7c1b1bebee Mon Sep 17 00:00:00 2001 From: Jordan Last Date: Sat, 9 Dec 2023 14:37:53 -0600 Subject: [PATCH 1/2] update to dfx 0.15.2 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5ece8ca165..17b0119524 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -200,7 +200,7 @@ jobs: with: node-version: 18 - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} - run: DFX_VERSION=0.15.1 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" + run: DFX_VERSION=0.15.2 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} uses: actions/cache@v3 with: From 6de89ee4fcd4b61a9c50271256dc0b1bce2c24b4 Mon Sep 17 00:00:00 2001 From: Jordan Last Date: Sat, 9 Dec 2023 15:37:06 -0600 Subject: [PATCH 2/2] lower small record tests --- .../test/tests.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/stable_b_tree_map_instruction_threshold/test/tests.ts b/examples/stable_b_tree_map_instruction_threshold/test/tests.ts index 22dfdaab11..291d58c298 100644 --- a/examples/stable_b_tree_map_instruction_threshold/test/tests.ts +++ b/examples/stable_b_tree_map_instruction_threshold/test/tests.ts @@ -15,24 +15,24 @@ export function getTests( const keysResult = await stableBTreeMapInstructionThresholdCanister.keysSmallRecord( - 5_000 + 4_000 ); const valuesResult = await stableBTreeMapInstructionThresholdCanister.valuesSmallRecord( - 6_000 + 5_000 ); const itemsResult = await stableBTreeMapInstructionThresholdCanister.itemsSmallRecord( - 2_000 + 1_000 ); return { Ok: - keysResult.length === 5_000 && - valuesResult.length === 6_000 && - itemsResult.length === 2_000 + keysResult.length === 4_000 && + valuesResult.length === 5_000 && + itemsResult.length === 1_000 }; } },