Skip to content

Commit

Permalink
Extend test times
Browse files Browse the repository at this point in the history
  • Loading branch information
timfish committed Oct 1, 2023
1 parent 799ef55 commit eb1f62b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/e2e/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class TestContext {
public async waitForTrue(
method: () => boolean | Promise<boolean>,
message: () => string = () => 'Timeout',
timeout: number = 8_000,
timeout: number = 12_000,
): Promise<void> {
if (!this.mainProcess) {
throw new Error('Invariant violation: Call .start() first');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ setTimeout(() => {
} else {
app.quit();
}
}, 2000);
}, 4000);
2 changes: 1 addition & 1 deletion test/e2e/test-apps/sessions/abnormal-exit/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ setTimeout(() => {
} else {
app.quit();
}
}, 2000);
}, 4000);
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ app.on('ready', () => {

setTimeout(() => {
app.quit();
}, 4000);
}, 6000);
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ app.on('ready', () => {

setTimeout(() => {
app.quit();
}, 4000);
}, 6000);

0 comments on commit eb1f62b

Please sign in to comment.