diff options
author | Florian Dold <florian@dold.me> | 2021-02-04 19:27:10 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-02-04 19:27:10 +0100 |
commit | 4e6b15615634e53a98a7e9b2e8d7b6f3f9e540fb (patch) | |
tree | 2f986d48e0920838d3593038da7db3885ff4f1f3 /packages/taler-wallet-cli | |
parent | 8425d79d48636028612790588c1f57907abbb5fa (diff) | |
download | wallet-core-4e6b15615634e53a98a7e9b2e8d7b6f3f9e540fb.tar.xz |
increase timeout for test
Diffstat (limited to 'packages/taler-wallet-cli')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/test-revocation.ts | 2 | ||||
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/testrunner.ts | 2 |
2 files changed, 4 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 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<TestRunResult> = new Promise( |