check large nofile limit issue (#3334)

0.10
Sergey G. Brester 2 years ago committed by sebres
parent bcac47d549
commit 24b1dea197

@ -81,12 +81,12 @@ jobs:
- name: Test suite - name: Test suite
run: | run: |
if [[ "$F2B_PY" = 2 ]]; then if [[ "$F2B_PY" = 2 ]]; then
python setup.py test sudo sh -c 'ulimit -n 1048576 && python setup.py test'
elif dpkg --compare-versions "$F2B_PYV" lt 3.10; then elif dpkg --compare-versions "$F2B_PYV" lt 3.10; then
python bin/fail2ban-testcases --verbosity=2 sudo sh -c 'ulimit -n 1048576 && python bin/fail2ban-testcases --verbosity=2'
else else
echo "Skip systemd backend since systemd-python module must be fixed for python >= v.3.10 in GHA ..." echo "Skip systemd backend since systemd-python module must be fixed for python >= v.3.10 in GHA ..."
python bin/fail2ban-testcases --verbosity=2 -i "[sS]ystemd|[jJ]ournal" sudo sh -c 'ulimit -n 1048576 && python bin/fail2ban-testcases --verbosity=2 -i "[sS]ystemd|[jJ]ournal"'
fi fi
#- name: Test suite (debug some systemd tests only) #- name: Test suite (debug some systemd tests only)

Loading…
Cancel
Save