From 32b45ac4bcf1a02321f72e806b6ad0aa0a1e3291 Mon Sep 17 00:00:00 2001 From: Arthur Meyre Date: Fri, 6 Sep 2024 12:05:38 +0200 Subject: [PATCH] chore(js): increase timeout for ZK test as it can be surpassed - this seemed to cause the test runner to hang forever - also add a timeout in the GitHub workflow, to avoid having the test runner wait forever (or in this case 6 hours because of default timeout) --- .github/workflows/aws_tfhe_wasm_tests.yml | 1 + tfhe/web_wasm_parallel_tests/test/compact-public-key.test.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/aws_tfhe_wasm_tests.yml b/.github/workflows/aws_tfhe_wasm_tests.yml index d55633b5d4..9053a9843a 100644 --- a/.github/workflows/aws_tfhe_wasm_tests.yml +++ b/.github/workflows/aws_tfhe_wasm_tests.yml @@ -71,6 +71,7 @@ jobs: make test_nodejs_wasm_api_in_docker - name: Run parallel wasm tests + timeout-minutes: 60 run: | make test_web_js_api_parallel_ci diff --git a/tfhe/web_wasm_parallel_tests/test/compact-public-key.test.js b/tfhe/web_wasm_parallel_tests/test/compact-public-key.test.js index ff7fdce606..d7f6d16f39 100644 --- a/tfhe/web_wasm_parallel_tests/test/compact-public-key.test.js +++ b/tfhe/web_wasm_parallel_tests/test/compact-public-key.test.js @@ -23,8 +23,8 @@ it( async () => { await runTestAttachedToButton("compactPublicKeyZeroKnowledge"); }, - 1200 * 1000, -); // 20 minutes timeout + 3600 * 1000, +); // 60 minutes timeout it( "Compact Public Key Bench 64 Bit With ZeroKnowledge",