[gcr/wip/smcv/timeout: 166/166] Increase test-gnupg-collection timeout




commit 85b62fba20af517241c44b19936ff0606cb42ad2
Author: Emilio Pozuelo Monfort <pochu debian org>
Date:   Sun Feb 5 10:28:11 2017 +0000

    Increase test-gnupg-collection timeout
    
    The timeout length in the current test is too low and can make the test
    fail if the system is too slow or too loaded. This test correctly stops
    waiting when a result is received, so the timeout will not actually be
    reached unless there is a problem.
    
    [smcv: Expand commit message]
    Fixes: https://gitlab.gnome.org/GNOME/gcr/issues/29
    Bug-Debian: https://bugs.debian.org/846728
    Signed-off-by: Simon McVittie <smcv debian org>

 gcr/test-gnupg-collection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gcr/test-gnupg-collection.c b/gcr/test-gnupg-collection.c
index e8b9cba..e65900a 100644
--- a/gcr/test-gnupg-collection.c
+++ b/gcr/test-gnupg-collection.c
@@ -210,7 +210,7 @@ test_reload (Test *test, gconstpointer unused)
        GcrGnupgKey *key;
 
        _gcr_gnupg_collection_load_async (test->collection, NULL, on_async_ready, test);
-       egg_test_wait_until (2500);
+       egg_test_wait_until (500000);
        g_assert (test->result);
        _gcr_gnupg_collection_load_finish (test->collection, test->result, &error);
        g_assert_no_error (error);


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