[glib/wip/hadess/socket-test-not-parallel] tests: Run "timeout tests" sequentially



commit 16bdfc27900b635f1f1bb0ef008bf86e80fd32d6
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Nov 21 10:59:03 2019 +0100

    tests: Run "timeout tests" sequentially
    
    Those tests seem to regularly fail because a timeout (which we're
    measuring outside the function that times out) is too long, which can
    happen when the system is busy.
    
    Try not running those tests in parallel to somewhat lower the incidence
    of failures.
    
    Bail out! GLib-GIO:ERROR:../gio/tests/socket.c:1167:test_timed_wait: assertion failed (poll_duration < 
112000): (114254 < 112000)
    Bail out! GLib-GIO:ERROR:../gio/tests/cancellable.c:167:on_mock_operation_ready: assertion failed (error 
== (g-io-error-quark, 19)): error is NULL

 gio/tests/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/tests/meson.build b/gio/tests/meson.build
index 8b5d105f5..cd8ec7271 100644
--- a/gio/tests/meson.build
+++ b/gio/tests/meson.build
@@ -33,7 +33,7 @@ gio_tests = {
   'async-splice-output-stream' : {},
   'buffered-input-stream' : {},
   'buffered-output-stream' : {},
-  'cancellable' : {},
+  'cancellable' : {'is_parallel': false},
   'contexts' : {},
   'contenttype' : {},
   'converter-stream' : {},
@@ -65,7 +65,7 @@ gio_tests = {
   'simple-async-result' : {},
   'simple-proxy' : {},
   'sleepy-stream' : {},
-  'socket' : {},
+  'socket' : {'is_parallel': false},
   'socket-listener' : {},
   'socket-service' : {},
   'srvtarget' : {},


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