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 <Anna@OcarinaProject.net>
This commit is contained in:
Anna Schumaker 2016-02-26 13:15:05 -05:00
parent 126ed4c15c
commit 6e838ffba3
1 changed files with 1 additions and 0 deletions

View File

@ -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);