Skip to content

Commit

Permalink
Add more wait time to make cypress tests pass (#740)
Browse files Browse the repository at this point in the history
* fix: add more time to make all test pass

Signed-off-by: suzhou <suzhou@amazon.com>

* feat: add comment

Signed-off-by: suzhou <suzhou@amazon.com>

---------

Signed-off-by: suzhou <suzhou@amazon.com>
  • Loading branch information
SuZhou-Joe authored May 16, 2023
1 parent 3d1125a commit e857125
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cypress-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ jobs:
run: |
cd OpenSearch-Dashboards
yarn start --no-base-path --no-watch &
sleep 300
sleep 420
# in main branch, OSD server requires more time to bundle and bootstrap
# timeout 300 bash -c 'while [[ "$(curl -s localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
# for now just chrome, use matrix to do all browsers later
- name: Cypress tests
Expand Down

0 comments on commit e857125

Please sign in to comment.