Skip to content

Commit

Permalink
More flaky test disabling
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 12, 2016
1 parent caa0d50 commit 7bc7647
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/core/testqgstaskmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand All @@ -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 );
Expand Down

0 comments on commit 7bc7647

Please sign in to comment.