From aeead8b6d7222e1d6da21da6c754d452fd06a8a1 Mon Sep 17 00:00:00 2001 From: Hailong Cui Date: Mon, 23 Oct 2023 09:41:30 +0800 Subject: [PATCH] Increase OSD start timeout for windows platform (#118) * Update dashboards-notifications-test-and-build-workflow.yml Signed-off-by: Hailong Cui * increase timeout to wait for OSD fully started Signed-off-by: Hailong Cui --------- Signed-off-by: Hailong Cui --- .../dashboards-notifications-test-and-build-workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dashboards-notifications-test-and-build-workflow.yml b/.github/workflows/dashboards-notifications-test-and-build-workflow.yml index ead42b95..9f21a92c 100644 --- a/.github/workflows/dashboards-notifications-test-and-build-workflow.yml +++ b/.github/workflows/dashboards-notifications-test-and-build-workflow.yml @@ -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 @@ -229,4 +229,4 @@ jobs: uses: actions/upload-artifact@v1 with: name: dashboards-notifications - path: OpenSearch-Dashboards/plugins/dashboards-notifications/build \ No newline at end of file + path: OpenSearch-Dashboards/plugins/dashboards-notifications/build