Commit f72f06ca authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Increase test timeouts to allow test passing on slow systems

parent 3eceb6f1
diff -uNr glib-2.60.4/gio/tests/gsocketclient-slow.c glib-2.60.4-fix_tests/gio/tests/gsocketclient-slow.c
--- glib-2.60.4/gio/tests/gsocketclient-slow.c 2019-06-11 03:17:20.000000000 +0930
+++ glib-2.60.4-fix_tests/gio/tests/gsocketclient-slow.c 2019-09-11 13:54:55.796925394 +0930
+++ glib-2.60.4-fix_tests/gio/tests/gsocketclient-slow.c 2019-10-18 08:47:06.918556973 +1030
@@ -55,7 +55,7 @@
* trigger the logic to make multiple parallel connections.
*/
......@@ -28,3 +28,48 @@ diff -uNr glib-2.60.4/gio/tests/gsocketclient-slow.c glib-2.60.4-fix_tests/gio/t
g_signal_connect (client, "event", G_CALLBACK (on_event), &got_completed_event);
g_main_loop_run (loop);
diff -uNr glib-2.60.4/glib/tests/gwakeuptest.c glib-2.60.4-fix_tests/glib/tests/gwakeuptest.c
--- glib-2.60.4/glib/tests/gwakeuptest.c 2019-06-11 03:17:20.000000000 +0930
+++ glib-2.60.4-fix_tests/glib/tests/gwakeuptest.c 2019-10-18 18:05:36.112559614 +1030
@@ -33,7 +33,7 @@
gint i;
/* prevent the test from deadlocking */
- alarm (60);
+ alarm (60 * 10);
wakeup = g_wakeup_new ();
g_assert (!check_signaled (wakeup));
@@ -214,7 +214,7 @@
gint i;
/* make sure we don't block forever */
- alarm (60);
+ alarm (60 * 10);
/* simple mainloop test based on GWakeup.
*
diff -uNr glib-2.60.4/gobject/tests/meson.build glib-2.60.4-fix_tests/gobject/tests/meson.build
--- glib-2.60.4/gobject/tests/meson.build 2019-06-11 03:17:20.000000000 +0930
+++ glib-2.60.4-fix_tests/gobject/tests/meson.build 2019-10-18 18:26:48.437573636 +1030
@@ -112,5 +112,6 @@
python,
args: files('mkenums.py'),
env: test_env,
+ timeout: test_timeout,
suite: ['gobject'],
)
diff -uNr glib-2.60.4/meson.build glib-2.60.4-fix_tests/meson.build
--- glib-2.60.4/meson.build 2019-06-11 03:17:20.000000000 +0930
+++ glib-2.60.4-fix_tests/meson.build 2019-10-18 17:08:29.398239887 +1030
@@ -1983,8 +1983,8 @@
enable_systemtap = true
endif
-test_timeout = 60
-test_timeout_slow = 120
+test_timeout = 600
+test_timeout_slow = 1200
pkg = import('pkgconfig')
windows = import('windows')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment