From 6e838ffba31a5d3beceb48cd5a7c6c1d1866c8e8 Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Fri, 26 Feb 2016 13:15:05 -0500 Subject: [PATCH] core/collection: Make sure we run all idle tasks GitLab CI failed on this test because the last remaining idle task was the one to scan the new directory. Let's make sure we've run through all idle tasks before continuing on with this test. Signed-off-by: Anna Schumaker --- tests/core/collection.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/core/collection.c b/tests/core/collection.c index c72636c8..2778bb2a 100644 --- a/tests/core/collection.c +++ b/tests/core/collection.c @@ -106,6 +106,7 @@ static void test_update() /* tests/Music/Hyrule Symphony exists again */ test_equal(idle_run_task(), (bool)true); + test_equal(idle_run_task(), (bool)false); test_equal(track_db_get()->db_size, 48); test_equal(lib->li_size, 48); test_equal(queue_size(q), 48);