We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 584af8c commit bcdd327Copy full SHA for bcdd327
1 file changed
src/tests/eternity/child-tests.ts
@@ -112,8 +112,13 @@ export default async function(this: TestConfig) {
112
mockClock.add(TimeSpan.fromSeconds(5));
113
await c.processQueueOnce();
114
115
- await c.processQueueOnce();
116
117
- const r = await storage.getWorkflow(id);
118
- assert.equal("done", r.state);
+ for(let i = 1;i<3;i++) {
+ await c.processQueueOnce();
+ const r = await storage.getWorkflow(id);
119
+ if (r.state === "done") {
120
+ return;
121
+ }
122
123
+ assert.fail();
124
}
0 commit comments