]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: github: set ulimit -n to a greater value
authorWilliam Lallemand <wlallemand@haproxy.org>
Tue, 13 Dec 2022 23:03:13 +0000 (00:03 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 13 Dec 2022 23:31:19 +0000 (00:31 +0100)
Set ulimit -n to 65536 to limit less the maxconn computation.

Could be backported at least to 2.5.

.github/workflows/vtest.yml

index a7cdcc51448315ca1a6e49f865b061d8f8291815..8c13d13daab1a5ef7ed79ccfcdd6258f46b87c9b 100644 (file)
@@ -136,7 +136,7 @@ jobs:
       run: |
         # This is required for macOS which does not actually allow to increase
         # the '-n' soft limit to the hard limit, thus failing to run.
-        ulimit -n 5000
+        ulimit -n 65536
         make reg-tests VTEST_PROGRAM=../vtest/vtest REGTESTS_TYPES=default,bug,devel
     - name: Show VTest results
       if: ${{ failure() && steps.vtest.outcome == 'failure' }}