Use a realistic timeout in a test

Who knew that g_test_trap_fork() takes a timeout in microseconds...
This commit is contained in:
Matthias Clasen 2011-06-13 22:48:54 -04:00
parent bc403e6361
commit 4dc3d3e999

View File

@ -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);