[tracker/sam/test-fixes: 3/3] ci: Note how many processes Meson is using



commit 802caa34f2805b896cb2eb7e51399d221769d3ca
Author: Sam Thursfield <sam afuera me uk>
Date:   Sat Sep 14 14:54:00 2019 +0200

    ci: Note how many processes Meson is using
    
    The CI runners on gitlab.gnome.org seem to have huge numbers of CPUs
    but they don't have the IO capacity to match, leading to test timeouts.

 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 29a459acd..f659c6fd9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,6 +27,8 @@ test-fedora-latest:
       su tracker -c 'cd build; meson test --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


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