taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 4e6b15615634e53a98a7e9b2e8d7b6f3f9e540fb
parent 8425d79d48636028612790588c1f57907abbb5fa
Author: Florian Dold <florian@dold.me>
Date:   Thu,  4 Feb 2021 19:27:10 +0100

increase timeout for test

Diffstat:
Mpackages/taler-wallet-cli/src/integrationtests/test-revocation.ts | 3+++
Mpackages/taler-wallet-cli/src/integrationtests/testrunner.ts | 2++
2 files changed, 5 insertions(+), 0 deletions(-)

diff --git 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 @@ -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<TestRunResult> = new Promise(