[libgdata] tests: Fix sense of a sleep() enable guard



commit 0858c4354b63a544d3a328e9ceb1d8266c233853
Author: Philip Withnall <philip tecnocode co uk>
Date:   Fri Aug 2 13:15:52 2013 +0200

    tests: Fix sense of a sleep() enable guard

 gdata/tests/picasaweb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdata/tests/picasaweb.c b/gdata/tests/picasaweb.c
index 216fc60..5c52471 100644
--- a/gdata/tests/picasaweb.c
+++ b/gdata/tests/picasaweb.c
@@ -508,7 +508,7 @@ tear_down_query_files (QueryFilesData *data, gconstpointer service)
        g_object_unref (data->file1);
 
        /* HACK! Wait for the distributed Google servers to synchronise. */
-       if (gdata_mock_server_get_enable_online (mock_server) == FALSE) {
+       if (gdata_mock_server_get_enable_online (mock_server) == TRUE) {
                sleep (10);
        }
 


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