From 7625d1addf33ec013ae03184a24b06c1a202fb5d Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Mon, 4 Nov 2024 10:42:50 -0500 Subject: [PATCH] Remove unecessary OPENSEARCH_VERSION from cypress test run Signed-off-by: Craig Perkins --- .github/actions/run-cypress-tests/action.yaml | 4 ++-- .github/workflows/cypress-with-security-workflow.yml | 1 - .github/workflows/cypress-workflow.yml | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/actions/run-cypress-tests/action.yaml b/.github/actions/run-cypress-tests/action.yaml index 11a70f383..cb95488fe 100644 --- a/.github/actions/run-cypress-tests/action.yaml +++ b/.github/actions/run-cypress-tests/action.yaml @@ -25,7 +25,7 @@ runs: if: ${{ inputs.with-security == 'false' }} run: | cd index-management - ./gradlew run -Dopensearch.version=${{ env.OPENSEARCH_VERSION }} & + ./gradlew run & sleep 300 # timeout 300 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:9200)" != "200" ]]; do sleep 5; done' - name: Run opensearch with plugin @@ -33,7 +33,7 @@ runs: if: ${{ inputs.with-security == 'true' }} run: | cd index-management - ./gradlew run -Dopensearch.version=${{ env.OPENSEARCH_VERSION }} -Dsecurity=true -Dhttps=true & + ./gradlew run -Dsecurity=true -Dhttps=true & sleep 300 # timeout 300 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:9200)" != "200" ]]; do sleep 5; done' - name: Checkout Index Management Dashboards plugin diff --git a/.github/workflows/cypress-with-security-workflow.yml b/.github/workflows/cypress-with-security-workflow.yml index eed092a81..dff2fb9bb 100644 --- a/.github/workflows/cypress-with-security-workflow.yml +++ b/.github/workflows/cypress-with-security-workflow.yml @@ -8,7 +8,6 @@ on: - "*" env: OPENSEARCH_DASHBOARDS_VERSION: 'main' - OPENSEARCH_VERSION: '3.0.0-SNAPSHOT' jobs: tests: name: Run Cypress E2E tests with security diff --git a/.github/workflows/cypress-workflow.yml b/.github/workflows/cypress-workflow.yml index 32dc5ccf1..83c210d78 100644 --- a/.github/workflows/cypress-workflow.yml +++ b/.github/workflows/cypress-workflow.yml @@ -8,7 +8,6 @@ on: - "*" env: OPENSEARCH_DASHBOARDS_VERSION: 'main' - OPENSEARCH_VERSION: '3.0.0-SNAPSHOT' jobs: tests: name: Run Cypress E2E tests