Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
fairscale
Commits
ae8a0bca
Unverified
Commit
ae8a0bca
authored
May 10, 2022
by
Min Xu
Committed by
GitHub
May 10, 2022
Browse files
[test] increase ulimit for max FDs (#982)
Co-authored-by:
Min Xu
<
min.xu.public@gmail.com
>
parent
d0ae563c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
.circleci/config.yml
.circleci/config.yml
+2
-0
No files found.
.circleci/config.yml
View file @
ae8a0bca
...
@@ -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>>`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment