projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc403e6
)
Use a realistic timeout in a test
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 14 Jun 2011 02:48:54 +0000
(22:48 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 14 Jun 2011 02:50:02 +0000
(22:50 -0400)
Who knew that g_test_trap_fork() takes a timeout in microseconds...
glib/tests/dataset.c
patch
|
blob
|
history
diff --git
a/glib/tests/dataset.c
b/glib/tests/dataset.c
index
187f53b
..
75a77f7
100644
(file)
--- a/
glib/tests/dataset.c
+++ b/
glib/tests/dataset.c
@@
-183,7
+183,7
@@
free_one (gpointer data)
static void
test_datalist_clear (void)
{
- if (g_test_trap_fork (
1
000, 0))
+ if (g_test_trap_fork (
500
000, 0))
{
g_datalist_init (&list);
g_datalist_set_data_full (&list, "one", GINT_TO_POINTER (1), free_one);