increase timeout for test
This commit is contained in:
parent
8425d79d48
commit
4e6b156156
@ -200,3 +200,5 @@ export async function runRevocationTest(t: GlobalTestState) {
|
|||||||
|
|
||||||
await makeTestPayment(t, { wallet, merchant, order });
|
await makeTestPayment(t, { wallet, merchant, order });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
runRevocationTest.timeoutMs = 120000;
|
@ -203,6 +203,8 @@ export async function runTests(spec: TestRunSpec) {
|
|||||||
const defaultTimeout = 60000;
|
const defaultTimeout = 60000;
|
||||||
const testTimeoutMs = testCase.timeoutMs ?? defaultTimeout;
|
const testTimeoutMs = testCase.timeoutMs ?? defaultTimeout;
|
||||||
|
|
||||||
|
console.log(`running ${testName} with timeout ${testTimeoutMs}ms`);
|
||||||
|
|
||||||
const { token } = CancellationToken.timeout(testTimeoutMs);
|
const { token } = CancellationToken.timeout(testTimeoutMs);
|
||||||
|
|
||||||
const resultPromise: Promise<TestRunResult> = new Promise(
|
const resultPromise: Promise<TestRunResult> = new Promise(
|
||||||
|
Loading…
Reference in New Issue
Block a user