Skip to content
Permalink
Browse files

More flaky test disabling

  • Loading branch information
nyalldawson committed Dec 12, 2016
1 parent caa0d50 commit 7bc7647957956365932b9d8340e54f0a8b3f5176
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/core/testqgstaskmanager.cpp
@@ -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 );

0 comments on commit 7bc7647

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