gcr: Fix race condition in gnupg collection async tests.
authorStef Walter <stefw@collabora.co.uk>
Sun, 15 May 2011 12:19:51 +0000 (14:19 +0200)
committerStef Walter <stefw@collabora.co.uk>
Sun, 15 May 2011 12:19:51 +0000 (14:19 +0200)
gcr/tests/test-gnupg-collection.c

index 0761463..acfb186 100644 (file)
@@ -116,6 +116,7 @@ on_async_ready (GObject *source, GAsyncResult *res, gpointer user_data)
        g_assert (G_OBJECT (test->collection) == source);
        g_assert (test->result == NULL);
        test->result = g_object_ref (res);
+       egg_test_wait_stop ();
 }
 
 static void