diff options
-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( |