[gnome-keyring/trust-store] [egg] Remove non-deterministic checks in spawn tests.



commit 4ae95e2d8643e7c2033e620d7ad9277d2bed2d4c
Author: Stef Walter <stefw collabora co uk>
Date:   Wed Dec 22 15:55:55 2010 +0000

    [egg] Remove non-deterministic checks in spawn tests.
    
    These complete in a different thread, and the check is vulnerable
    to a race condition.

 egg/tests/unit-test-spawn.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/egg/tests/unit-test-spawn.c b/egg/tests/unit-test-spawn.c
index e34ff3a..23be4cf 100644
--- a/egg/tests/unit-test-spawn.c
+++ b/egg/tests/unit-test-spawn.c
@@ -221,8 +221,6 @@ TESTING_TEST(test_spawn_async)
 	g_assert (ret != 0);
 	g_assert (error == NULL);
 	g_assert (!data.finalized);
-	g_assert (!data.output);
-	g_assert (!data.completed);
 
 	testing_wait_until (2000);
 
@@ -249,8 +247,6 @@ TESTING_TEST(test_spawn_async_none)
 	g_assert (ret != 0);
 	g_assert (error == NULL);
 	g_assert (!data.finalized);
-	g_assert (!data.completed);
-	g_assert (!data.output);
 
 	testing_wait_until (2000);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]