-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hey @mrloop! Is there any way to retry tests that time out? Doesn't look like the test is retried if it fails due to a timeout.
We set the global timeout using QUnit.config.testTimeout, and I've also tried setting a local one using assert.timeout with no luck — it doesn't appear that the test is retried:
Code
let tryCount = 0;
retry("a flaky test that occasionally times out", async function (assert) {
assert.timeout(5);
console.log('tryCount', ++tryCount);
// ... some code that occasionally times out due to reasons outside our control
// for example:
await timeout(1000);
});Metadata
Metadata
Assignees
Labels
No labels