Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Use a realistic timeout in a test
Browse files Browse the repository at this point in the history
Who knew that g_test_trap_fork() takes a timeout in microseconds...
  • Loading branch information
Matthias Clasen committed Jun 14, 2011
1 parent bc403e6 commit 4dc3d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glib/tests/dataset.c
Expand Up @@ -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);
Expand Down

0 comments on commit 4dc3d3e

Please sign in to comment.