Skip to content

Commit

Permalink
Fix wait for ES and OS
Browse files Browse the repository at this point in the history
  • Loading branch information
tellet-q committed Apr 18, 2024
1 parent 19a720e commit 47de680
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/actions/run-engine-benchmark/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@ runs:
- name: Execution
shell: bash
run: |
flag="${{ inputs.engine }}"
if [[ "$flag" == *"elasticsearch"* || "$flag" == *"opensearch"* ]]; then
./tools/wait_for_green_status.sh
source $(poetry env info -p)/bin/activate
poetry run python3 run.py --engines "${{ inputs.engine }}" --datasets "${{ inputs.dataset }}"

0 comments on commit 47de680

Please sign in to comment.