From a8837ea6a5e8a4f81fb24fcf0543e64e1595c4b6 Mon Sep 17 00:00:00 2001 From: Hailong Cui Date: Wed, 6 Sep 2023 15:43:17 +0800 Subject: [PATCH] increase timeout to wait for OSD fully started Signed-off-by: Hailong Cui --- .../dashboards-notifications-test-and-build-workflow.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/dashboards-notifications-test-and-build-workflow.yml b/.github/workflows/dashboards-notifications-test-and-build-workflow.yml index b9925250..745671ac 100644 --- a/.github/workflows/dashboards-notifications-test-and-build-workflow.yml +++ b/.github/workflows/dashboards-notifications-test-and-build-workflow.yml @@ -170,6 +170,11 @@ jobs: run: | # Resetting npm's script shell for Windows so `yarn run cypress` doesn't have conflicts npm config delete script-shell + - name: Wait for OSD to be fully start + run: | + sleep 300 + curl http://localhost:5601/app/home#/ + curl http://lcoalhost:9200 - name: Run Cypress tests uses: cypress-io/github-action@v2