Skip to content

Commit

Permalink
ci(e2e): Stabilize E2E tests (hawtio#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuzikar authored Oct 2, 2023
1 parent 87f8a30 commit 737822d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install
Expand All @@ -63,7 +63,7 @@ jobs:
- name: Start server
run: |
yarn start > log &
timeout 1m bash -c "while ! grep 'You can now view app in the browser.' log ; do cat log; sleep 1; done"
timeout 2m bash -c "while ! grep 'You can now view app in the browser.' log ; do cat log; sleep 5; done"
- name: Detect testsuite branch
id: get-images
env:
Expand Down

0 comments on commit 737822d

Please sign in to comment.