[glib/wip/hadess/socket-test-not-parallel] tests: Don't run timeout test in parallel with others
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/hadess/socket-test-not-parallel] tests: Don't run timeout test in parallel with others
- Date: Thu, 21 Nov 2019 10:06:01 +0000 (UTC)
commit cfa84ef9cb5796903de9c71baadf95a69bfc6215
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
The socket test seems 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 the test in parallel to somewhat lower the incidence
of the failure.
Bail out! GLib-GIO:ERROR:../gio/tests/socket.c:1167:test_timed_wait: assertion failed (poll_duration <
112000): (114254 < 112000)
gio/tests/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/tests/meson.build b/gio/tests/meson.build
index 8b5d105f5..1d8d15bfa 100644
--- a/gio/tests/meson.build
+++ b/gio/tests/meson.build
@@ -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]