fix: epoll reg tests running on iouring (#4612)

* properly run epoll instead of iouring
* fix print message on failure

Signed-off-by: kostas <kostas@dragonflydb.io>
This commit is contained in:
Kostas Kyrimis 2025-02-17 09:30:35 +02:00 committed by GitHub
parent 2436094d22
commit c8c1eaee9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -49,6 +49,8 @@ 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
echo "Proactor used: ${{inputs.epoll}}\n"
if [[ "${{inputs.epoll}}" == 'epoll' ]]; then
export FILTER="${{inputs.filter}} and not exclude_epoll"
# Run only replication tests with epoll

View file

@ -57,7 +57,7 @@ jobs:
s3-bucket: ${{ secrets.S3_REGTEST_BUCKET }}
# Chain ternary oprator of the form (which can be nested)
# (expression == condition && <true expression> || <false expression>)
epoll: ${{ matrix.proactor == 'Epoll' && 'true' || '' }}
epoll: ${{ matrix.proactor == 'Epoll' && 'epoll' || 'iouring' }}
- name: Upload logs on failure
if: failure()