diff --git a/.github/actions/regression-tests/action.yml b/.github/actions/regression-tests/action.yml index e3ce9b32da7f..f71104edace8 100644 --- a/.github/actions/regression-tests/action.yml +++ b/.github/actions/regression-tests/action.yml @@ -49,7 +49,7 @@ runs: export DRAGONFLY_PATH="${GITHUB_WORKSPACE}/${{inputs.build-folder-name}}/${{inputs.dfly-executable}}" export UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1 # to crash on errors - if [[ "${{inputs.epoll}}" == 'true' ]]; then + if [[ "${{inputs.epoll}}" == 'epoll' ]]; then export FILTER="${{inputs.filter}} and not exclude_epoll" # Run only replication tests with epoll timeout 50m pytest -m "$FILTER" --durations=10 --timeout=300 --color=yes --json-report --json-report-file=report.json dragonfly --df force_epoll=true --log-cli-level=INFO || code=$? @@ -98,7 +98,7 @@ runs: fi job_link="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}" - message="Regression tests failed.\\n The commit is: ${{github.sha}}.\\n $failed_tests \\n Job Link: ${job_link}\\n" + message="Regression ${{inputs.epoll}} tests failed.\\n The commit is: ${{github.sha}}.\\n $failed_tests \\n Job Link: ${job_link}\\n" curl -s \ -X POST \ diff --git a/.github/workflows/regression-tests.yml b/.github/workflows/regression-tests.yml index 240617f64b75..3c35b605c1f3 100644 --- a/.github/workflows/regression-tests.yml +++ b/.github/workflows/regression-tests.yml @@ -57,7 +57,7 @@ jobs: s3-bucket: ${{ secrets.S3_REGTEST_BUCKET }} # Chain ternary oprator of the form (which can be nested) # (expression == condition && || ) - epoll: ${{ matrix.proactor == 'Epoll' && 'true' || '' }} + epoll: ${{ matrix.proactor == 'Epoll' && 'epoll' || 'iouring' }} - name: Upload logs on failure if: failure()