Skip to content

Commit

Permalink
Increase OSD start timeout for windows platform (#118)
Browse files Browse the repository at this point in the history
* Update dashboards-notifications-test-and-build-workflow.yml

Signed-off-by: Hailong Cui <ihailong@amazon.com>

* increase timeout to wait for OSD fully started

Signed-off-by: Hailong Cui <ihailong@amazon.com>

---------

Signed-off-by: Hailong Cui <ihailong@amazon.com>
  • Loading branch information
Hailong-am authored Oct 23, 2023
1 parent 5d7df9b commit aeead8b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
run: |
cd ./OpenSearch-Dashboards
yarn start --no-base-path --no-watch --server.host="0.0.0.0" &
timeout 400 bash -c 'while [[ "$(curl -s http://localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do echo sleeping 5; sleep 5; done'
timeout 900 bash -c 'while [[ "$(curl -s http://localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do echo sleeping 5; sleep 5; done'
curl -sk localhost:5601/api/status | jq
netstat -anp tcp | grep LISTEN | grep 5601 || netstat -ntlp | grep 5601
shell: bash
Expand Down Expand Up @@ -229,4 +229,4 @@ jobs:
uses: actions/upload-artifact@v1
with:
name: dashboards-notifications
path: OpenSearch-Dashboards/plugins/dashboards-notifications/build
path: OpenSearch-Dashboards/plugins/dashboards-notifications/build

0 comments on commit aeead8b

Please sign in to comment.