Unverified Commit ae8a0bca authored by Min Xu's avatar Min Xu Committed by GitHub
Browse files

[test] increase ulimit for max FDs (#982)


Co-authored-by: default avatarMin Xu <min.xu.public@gmail.com>
parent d0ae563c
...@@ -208,6 +208,7 @@ run_unittests: &run_unittests ...@@ -208,6 +208,7 @@ run_unittests: &run_unittests
name: Run all unit tests. name: Run all unit tests.
# We run all and not stopping on failure on CPU since docker time is cheaper. # We run all and not stopping on failure on CPU since docker time is cheaper.
command: | command: |
ulimit -n 10000
pytest --junitxml=test-results/junit.xml --verbose --timeout 60 --cov-report=xml --cov=./ pytest --junitxml=test-results/junit.xml --verbose --timeout 60 --cov-report=xml --cov=./
commands: commands:
...@@ -223,6 +224,7 @@ commands: ...@@ -223,6 +224,7 @@ commands:
- run: - run:
name: Run Unit Tests name: Run Unit Tests
command: | command: |
ulimit -n 10000
if [ ! -f <<parameters.test_list_file>> ]; then exit 1; fi if [ ! -f <<parameters.test_list_file>> ]; then exit 1; fi
pytest --junitxml=test-results/junit.xml --verbose --timeout 70 --cov-report=xml --cov=./ `cat <<parameters.test_list_file>>` pytest --junitxml=test-results/junit.xml --verbose --timeout 70 --cov-report=xml --cov=./ `cat <<parameters.test_list_file>>`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment