mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
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>
This commit is contained in:
parent
a3d223d0e9
commit
2685a533af
@ -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 (" ");
|
||||
|
Loading…
Reference in New Issue
Block a user