Skip to content
Permalink
Browse files

fix taskmanager subTaskPartialComplete2 test

  • Loading branch information
troopa81 authored and nyalldawson committed Mar 16, 2020
1 parent 878eb64 commit b16360d0389c02d37cd9654d5ddc604e6e8829a5
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/src/core/testqgstaskmanager.cpp
@@ -807,7 +807,8 @@ void TestQgsTaskManager::subTaskPartialComplete2()
QCOMPARE( subsubTask->status(), QgsTask::Running );

subsubTask->finish();
while ( subsubTask->status() == QgsTask::Running )
while ( subsubTask->status() == QgsTask::Running
|| subTask->status() == QgsTask::Running )
{
QCoreApplication::processEvents();
}

0 comments on commit b16360d

Please sign in to comment.
You can’t perform that action at this time.