Skip to content

Commit 8af3bd8

Browse files
committed
Change e2e timeouts
- Relates #401
1 parent c6a8e1c commit 8af3bd8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

e2e/spring-shell-e2e-tests/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ export const nativeCommand = cliPath;
1818
export const jarOptions = ['-jar', jarPath];
1919
export const waitForExpectDefaultTimeout = 30000;
2020
export const waitForExpectDefaultInterval = 2000;
21-
export const testTimeout = 100000;
21+
export const testTimeout = 120000;

e2e/spring-shell-e2e-tests/test/flow.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ describe('flow commands', () => {
2626
const flowConditionalField2SkipsFields1 = async (cli: Cli) => {
2727
cli.run();
2828

29+
// windows on gh actions may take quite a bit of time to start
30+
// so use long timeout
2931
await waitForExpect(async () => {
3032
const screen = cli.screen();
3133
expect(screen).toEqual(expect.arrayContaining([expect.stringContaining('Single1')]));
32-
});
34+
}, 60000);
3335

3436
await cli.keyDown();
3537
await waitForExpect(async () => {

0 commit comments

Comments
 (0)