From 4e6b15615634e53a98a7e9b2e8d7b6f3f9e540fb Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 4 Feb 2021 19:27:10 +0100 Subject: [PATCH] increase timeout for test --- .../taler-wallet-cli/src/integrationtests/test-revocation.ts | 2 ++ packages/taler-wallet-cli/src/integrationtests/testrunner.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/taler-wallet-cli/src/integrationtests/test-revocation.ts b/packages/taler-wallet-cli/src/integrationtests/test-revocation.ts index a77797314..54f330c68 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-revocation.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-revocation.ts @@ -200,3 +200,5 @@ export async function runRevocationTest(t: GlobalTestState) { await makeTestPayment(t, { wallet, merchant, order }); } + +runRevocationTest.timeoutMs = 120000; \ No newline at end of file diff --git a/packages/taler-wallet-cli/src/integrationtests/testrunner.ts b/packages/taler-wallet-cli/src/integrationtests/testrunner.ts index 455d8f451..e220e45e4 100644 --- a/packages/taler-wallet-cli/src/integrationtests/testrunner.ts +++ b/packages/taler-wallet-cli/src/integrationtests/testrunner.ts @@ -203,6 +203,8 @@ export async function runTests(spec: TestRunSpec) { const defaultTimeout = 60000; const testTimeoutMs = testCase.timeoutMs ?? defaultTimeout; + console.log(`running ${testName} with timeout ${testTimeoutMs}ms`); + const { token } = CancellationToken.timeout(testTimeoutMs); const resultPromise: Promise = new Promise(