[glib/wip/hadess/socket-test-not-parallel] tests: Don't run timeout test in parallel with others



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

    tests: Don't run timeout test in parallel with others
    
    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]