mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-11 03:46:17 +01:00
Use a realistic timeout in a test
Who knew that g_test_trap_fork() takes a timeout in microseconds...
This commit is contained in:
parent
bc403e6361
commit
4dc3d3e999
@ -183,7 +183,7 @@ free_one (gpointer data)
|
||||
static void
|
||||
test_datalist_clear (void)
|
||||
{
|
||||
if (g_test_trap_fork (1000, 0))
|
||||
if (g_test_trap_fork (500000, 0))
|
||||
{
|
||||
g_datalist_init (&list);
|
||||
g_datalist_set_data_full (&list, "one", GINT_TO_POINTER (1), free_one);
|
||||
|
Loading…
Reference in New Issue
Block a user