Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
tracker
Commits
1d8cf637
Commit
1d8cf637
authored
Sep 14, 2019
by
Sam Thursfield
Browse files
Merge branch 'sam/ci-4-processes' into 'master'
ci: Run a maximum of 4 tests simultaneously See merge request
!136
parents
fd5c2933
7966322e
Pipeline
#115014
passed with stage
in 3 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
1d8cf637
...
...
@@ -24,11 +24,12 @@ test-fedora-latest:
# screenful of junk each time unless we strip these.
unset $(env|grep -o '^CI_[^=]*')
su tracker -c 'cd build; meson test --print-errorlogs ${MESON_TEST_EXTRA_ARGS}'
# We limit `meson test` to 4 parallel test processes. The default is to
# have one test process per CPU, but our tests are mostly IO bound
# and we get timeouts and failures if we try to run 32 of them at once.
su tracker -c 'cd build; meson test --num-processes=4 --print-errorlogs ${MESON_TEST_EXTRA_ARGS}'
after_script
:
-
|
python3 -c 'import multiprocessing; print(f"Meson probably started {multiprocessing.cpu_count()} tests in parallel.")'
-
|
echo "Test suite settings:"
echo
...
...
Sam Thursfield
@sthursfield
mentioned in issue
#141 (closed)
·
Sep 15, 2019
mentioned in issue
#141 (closed)
mentioned in issue #141
Toggle commit list
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