[glib] gdbus-threading test: Allow even longer for test_method_calls_in_thread



commit 2685a533afdc0f369818d20b73b345ecdcb7c86d
Author: Simon McVittie <smcv debian org>
Date:   Mon Dec 18 11:19:48 2017 +0000

    gdbus-threading test: Allow even longer for test_method_calls_in_thread
    
    This should take 4 seconds + overhead, but on a slow or heavily
    loaded system, there's no guarantee that it won't take significantly
    longer.
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=792364
    Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=884660
    Reviewed-by: Philip Withnall <withnall endlessm com>
    Signed-off-by: Simon McVittie <smcv collabora com>

 gio/tests/gdbus-threading.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/tests/gdbus-threading.c b/gio/tests/gdbus-threading.c
index a4ef721..3e4dc92 100644
--- a/gio/tests/gdbus-threading.c
+++ b/gio/tests/gdbus-threading.c
@@ -406,7 +406,7 @@ test_method_calls_on_proxy (GDBusProxy *proxy)
 
       /* elapsed_msec should be 4000 msec +/- change for overhead/inaccuracy */
       g_assert_cmpint (elapsed_msec, >=, 3950);
-      g_assert_cmpint (elapsed_msec,  <, 8000);
+      g_assert_cmpint (elapsed_msec,  <, 30000);
 
       if (g_test_verbose ())
         g_printerr (" ");


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