mirror of https://github.com/fail2ban/fail2ban
Revert "check large nofile limit issue (#3334)" (back to original open files limit)
This reverts commit 24b1dea197
.
0.10
parent
38026e5963
commit
476136281c
|
@ -81,12 +81,12 @@ jobs:
|
||||||
- name: Test suite
|
- name: Test suite
|
||||||
run: |
|
run: |
|
||||||
if [[ "$F2B_PY" = 2 ]]; then
|
if [[ "$F2B_PY" = 2 ]]; then
|
||||||
sudo sh -c 'ulimit -n 1048576 && python setup.py test'
|
python setup.py test
|
||||||
elif dpkg --compare-versions "$F2B_PYV" lt 3.10; then
|
elif dpkg --compare-versions "$F2B_PYV" lt 3.10; then
|
||||||
sudo sh -c 'ulimit -n 1048576 && python bin/fail2ban-testcases --verbosity=2'
|
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 ..."
|
||||||
sudo sh -c 'ulimit -n 1048576 && python bin/fail2ban-testcases --verbosity=2 -i "[sS]ystemd|[jJ]ournal"'
|
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…
Reference in New Issue