File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -23,5 +23,4 @@ echo '--- Setting up environment variables on VM ---'
2323export ZONAL_BUCKET=${_ZONAL_BUCKET}
2424export RUN_ZONAL_SYSTEM_TESTS=True
2525echo ' --- Running Zonal tests on VM ---'
26- ulimit -n 1048576
2726pytest -vv -s --log-format=' %(asctime)s %(levelname)s %(message)s' --log-date-format=' %H:%M:%S' tests/system/test_zonal.py
Original file line number Diff line number Diff line change @@ -52,6 +52,13 @@ steps:
5252 args :
5353 - " -c"
5454 - |
55+ ulimit -Sn 4096
56+ # Double-check the limit was applied
57+ CURRENT_LIMIT=$(ulimit -n)
58+ if [ "$CURRENT_LIMIT" -lt 4096 ]; then
59+ echo "ERROR: Failed to set ulimit to 4096. Current limit is $CURRENT_LIMIT "
60+ exit 1
61+ fi
5562 set -e
5663 # Wait for the VM to be fully initialized and SSH to be ready.
5764 for i in {1..10}; do
You can’t perform that action at this time.
0 commit comments