From 1a92e68420b140a2ea9493f2ea231d9f42d92c3d Mon Sep 17 00:00:00 2001 From: AWSHurneyt Date: Thu, 5 Oct 2023 15:26:44 -0700 Subject: [PATCH] Troubleshooting. Signed-off-by: AWSHurneyt --- .github/workflows/cypress-workflow.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/cypress-workflow.yml b/.github/workflows/cypress-workflow.yml index 418aed741..a95abfba7 100644 --- a/.github/workflows/cypress-workflow.yml +++ b/.github/workflows/cypress-workflow.yml @@ -84,6 +84,10 @@ jobs: cd OpenSearch-Dashboards/plugins/security-analytics-dashboards-plugin yarn osd bootstrap + - name: Hurneyt Ping Backend 1 + run : curl -XGET localhost:9200 + shell: bash + - name: Run OpenSearch-Dashboards server run: | cd OpenSearch-Dashboards @@ -91,6 +95,10 @@ jobs: sleep 300 shell: bash + - name: Hurneyt Ping Backend 2 + run: curl -XGET localhost:9200 + shell: bash + # Window is slow so wait longer - name: Sleep until OSD server starts - windows if: ${{ matrix.os == 'windows-latest' }} @@ -102,6 +110,10 @@ jobs: run: sleep 450 shell: bash + - name: Hurneyt Ping Backend 3 + run: curl -XGET localhost:9200 + shell: bash + - name: Install Cypress run: | cd OpenSearch-Dashboards/plugins/security-analytics-dashboards-plugin @@ -125,6 +137,10 @@ jobs: restore-keys: | cypress-cache-v2-${{ runner.os }}-${{ hashFiles('**/package.json') }} + - name: Hurneyt Ping Backend 4 + run: curl -XGET localhost:9200 + shell: bash + # for now just chrome, use matrix to do all browsers later - name: Cypress tests uses: cypress-io/github-action@v5