From fc766cc35a38b634b26c1781548b2e9ccc4ffd1f Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Mon, 23 Oct 2023 11:38:05 +0800 Subject: [PATCH] Increase OSD start timeout for windows platform (#118) (#131) * Update dashboards-notifications-test-and-build-workflow.yml * increase timeout to wait for OSD fully started --------- (cherry picked from commit aeead8b6d7222e1d6da21da6c754d452fd06a8a1) Signed-off-by: Hailong Cui Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- .../dashboards-notifications-test-and-build-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dashboards-notifications-test-and-build-workflow.yml b/.github/workflows/dashboards-notifications-test-and-build-workflow.yml index 55e806a6..61c488ac 100644 --- a/.github/workflows/dashboards-notifications-test-and-build-workflow.yml +++ b/.github/workflows/dashboards-notifications-test-and-build-workflow.yml @@ -139,7 +139,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