diff --git a/Foundation/testsuite/src/TaskManagerTest.cpp b/Foundation/testsuite/src/TaskManagerTest.cpp index f969837aed..c4b0842375 100644 --- a/Foundation/testsuite/src/TaskManagerTest.cpp +++ b/Foundation/testsuite/src/TaskManagerTest.cpp @@ -349,7 +349,7 @@ void TaskManagerTest::testCancel() assertTrue (pTT->progress() == 0); Thread::sleep(200); pTT->cont(); - assertTrue (waitForCondition([&]{ return pTT->progress() == 0.5f; }, 5000)); + assertTrue (waitForCondition([&]{ return to.progress() > 0; }, 5000)); assertTrue (to.progress() == 0.5); assertTrue (to.started()); assertTrue (pTT->state() == Task::TASK_RUNNING); diff --git a/cppignore.win b/cppignore.win index 40afeae138..456cc7da02 100644 --- a/cppignore.win +++ b/cppignore.win @@ -25,4 +25,3 @@ class CppUnit::TestCaller.testChannelFacility class CppUnit::TestCaller.testChannelOpenClose class CppUnit::TestCaller.testOldBSD class CppUnit::TestCaller.testStructuredData -class CppUnit::TestCaller.testCancel