Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
glib
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
glib
Commits
f72f06ca
Commit
f72f06ca
authored
Oct 18, 2019
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase test timeouts to allow test passing on slow systems
parent
3eceb6f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
1 deletion
+46
-1
glib-2.60.4-fix_tests.patch
glib-2.60.4-fix_tests.patch
+46
-1
No files found.
glib-2.60.4-fix_tests.patch
View file @
f72f06ca
diff -uNr glib-2.60.4/gio/tests/gsocketclient-slow.c glib-2.60.4-fix_tests/gio/tests/gsocketclient-slow.c
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/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 +09
30
+++ glib-2.60.4-fix_tests/gio/tests/gsocketclient-slow.c 2019-
10-18 08:47:06.918556973 +10
30
@@ -55,7 +55,7 @@
@@ -55,7 +55,7 @@
* trigger the logic to make multiple parallel connections.
* 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
...
@@ -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_signal_connect (client, "event", G_CALLBACK (on_event), &got_completed_event);
g_main_loop_run (loop);
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')
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment