[tracker/sam/slow-tests] Increase timeouts for some tests which are failing in CI



commit 6f5c896c465540e5b469597d360b18089ae757dc
Author: Sam Thursfield <sam afuera me uk>
Date:   Thu Aug 1 16:34:45 2019 +0200

    Increase timeouts for some tests which are failing in CI
    
    When there is contention on our CI server, we see timeout failures in
    some tests.
    
    For example: https://gitlab.gnome.org/GNOME/tracker/-/jobs/375540
    
    Increasing timeouts of the slow tests should help here.

 tests/functional-tests/meson.build | 13 ++++++++++++-
 tests/libtracker-miner/meson.build |  2 +-
 2 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/tests/functional-tests/meson.build b/tests/functional-tests/meson.build
index 274c88abf..bcc2e4fab 100644
--- a/tests/functional-tests/meson.build
+++ b/tests/functional-tests/meson.build
@@ -20,13 +20,16 @@ functional_tests = [
   '07-graph',
   '08-unique-insertions',
   '09-concurrent-query',
-  '12-transactions',
   '14-signals',
   '15-statistics',
   '16-collation',
   '17-ontology-changes',
 ]
 
+functional_tests_slow = [
+  '12-transactions'
+]
+
 subdir('ttl')
 functional_tests_with_test_data = [
   '13-threaded-store',
@@ -57,4 +60,12 @@ foreach t: functional_tests + functional_tests_with_test_data
     timeout: 60)
 endforeach
 
+foreach t: functional_tests_slow
+  test('functional-' + t, test_runner,
+    args: './' + t + '.py',
+    env: test_env,
+    workdir: meson.current_source_dir(),
+    timeout: 120)
+endforeach
+
 subdir('ipc')
diff --git a/tests/libtracker-miner/meson.build b/tests/libtracker-miner/meson.build
index 0e03c6787..c441223ca 100644
--- a/tests/libtracker-miner/meson.build
+++ b/tests/libtracker-miner/meson.build
@@ -1,7 +1,6 @@
 libtracker_miner_tests = [
     'crawler',
     'file-enumerator',
-    'file-notifier',
     'file-system',
     'indexing-tree',
     'priority-queue',
@@ -10,6 +9,7 @@ libtracker_miner_tests = [
 ]
 
 libtracker_miner_slow_tests = [
+    'file-notifier',
     'miner-fs',
     'monitor',
 ]


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