More flaky test disabling

This commit is contained in:
Nyall Dawson 2016-12-12 17:47:34 +10:00
parent caa0d500af
commit 7bc7647957

View File

@ -1070,7 +1070,7 @@ void TestQgsTaskManager::managerWithSubTasks()
QCOMPARE( manager->activeTasks().count(), 1 );
QVERIFY( manager->activeTasks().contains( parent ) );
QCOMPARE( spy.count(), 1 );
#if 0 // flaky
//manager should not directly listen to progress reports from subtasks
//(only parent tasks, which themselves include their subtask progress)
QCOMPARE( spyProgress.count(), 0 );
@ -1082,7 +1082,7 @@ void TestQgsTaskManager::managerWithSubTasks()
// parent task has two tasks (itself + subTask), and subTask is 25% done.... so parent
// task is 12.5% done. yes-- these numbers are correct!
QCOMPARE( spyProgress.last().at( 1 ).toInt(), 13 );
#if 0 // flaky
subsubTask->emitProgressChanged( 100 );
QCOMPARE( spyProgress.count(), 2 );
QCOMPARE( spyProgress.last().at( 0 ).toLongLong(), 0LL );