From 5856444ca26c73230cec5a789abc6ef940c15f70 Mon Sep 17 00:00:00 2001 From: AWSHurneyt Date: Tue, 20 Aug 2024 11:38:50 -0700 Subject: [PATCH] Update cypress-workflow.yml --- .github/workflows/cypress-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cypress-workflow.yml b/.github/workflows/cypress-workflow.yml index 1bd8083e8..442c41fb2 100644 --- a/.github/workflows/cypress-workflow.yml +++ b/.github/workflows/cypress-workflow.yml @@ -34,7 +34,7 @@ jobs: - name: Run Opensearch with plugin run: | cd alerting - ./gradlew run -Dopensearch.version=${{ env.OPENSEARCH_VERSION }} & + ./gradlew :alerting:run -Dopensearch.version=${{ env.OPENSEARCH_VERSION }} & timeout 300 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:9200)" != "200" ]]; do sleep 5; done' - name: Checkout OpenSearch Dashboards uses: actions/checkout@v2