Skip to content
Permalink
Browse files

fix taskmanager subTaskPartialComplete2 test

  • Loading branch information
troopa81 authored and nyalldawson committed Mar 16, 2020
1 parent c2a4ad4 commit 08f4f9c34f1d8bf2f7a7dd71c9e0d319dd636589
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 08f4f9c

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