[tracker/sam/slow-tests] WIP: Run tests in background while doing the profiling



commit cffacbf947fa9bb63d5597fe41e545548825cdda
Author: Sam Thursfield <sam afuera me uk>
Date:   Tue Jan 28 01:34:32 2020 +0100

    WIP: Run tests in background while doing the profiling
    
    Maybe that will help trigger the actual bug!

 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fa6cdc98d..634fc4934 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,9 +28,9 @@ stages:
       # screenful of junk each time unless we strip these.
       unset $(env|grep -o '^CI_[^=]*')
 
-      # 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; env LANG=C.UTF-8 LC_ALL=C.UTF-8 meson test --num-processes=4 
--print-errorlogs ${MESON_TEST_EXTRA_ARGS}' &
+      su tracker -c 'cd build; env LANG=C.UTF-8 LC_ALL=C.UTF-8 dbus-run-session meson test --wrapper 
"valgrind  --tool=callgrind --collect-systime=yes" -t 100 --suite data sparql'
+      su tracker -c 'cd build; env LANG=C.UTF-8 LC_ALL=C.UTF-8 dbus-run-session meson test --wrapper 
"valgrind  --tool=callgrind --collect-systime=yes" -t 100 --suite data sparql'
       su tracker -c 'cd build; env LANG=C.UTF-8 LC_ALL=C.UTF-8 dbus-run-session meson test --wrapper 
"valgrind  --tool=callgrind --collect-systime=yes" -t 100 --suite data sparql'
 
   after_script:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]