Commit e48bb59e authored by Piotr Gawron's avatar Piotr Gawron
Browse files

unit test should check for all jobs to be finished

parent 175ce5a9
Pipeline #6578 passed with stage
in 6 minutes and 56 seconds
......@@ -337,7 +337,7 @@ public class PermanentDatabaseLevelCacheTest extends AnnotationTestFunctions {
cache.invalidateByQuery(query, invalidType);
while (cache.getRefreshExecutingTasksSize() + cache.getRefreshPendingQueueSize() > 0) {
while (cache.databaseCacheIsBusy()) {
Thread.sleep(10);
}
assertEquals(1, getFatals().size());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment