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