aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-02-04 19:27:10 +0100
committerFlorian Dold <florian@dold.me>2021-02-04 19:27:10 +0100
commit4e6b15615634e53a98a7e9b2e8d7b6f3f9e540fb (patch)
tree2f986d48e0920838d3593038da7db3885ff4f1f3 /packages/taler-wallet-cli
parent8425d79d48636028612790588c1f57907abbb5fa (diff)
increase timeout for test
Diffstat (limited to 'packages/taler-wallet-cli')
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/test-revocation.ts2
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/testrunner.ts2
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(