Skip to content
Permalink
Browse files

Disable flaky test

  • Loading branch information
nyalldawson committed Jan 6, 2017
1 parent e5e0ec5 commit af5eb6aaabdb5f3218da96c2492566ceb684a47d
Showing with 4 additions and 3 deletions.
  1. +4 −3 tests/src/core/testqgstaskmanager.cpp
@@ -193,7 +193,9 @@ class TestQgsTaskManager : public QObject
void task();
void taskResult();
void taskFinished();
#if 0 //flaky
void subTask();
#endif
void addTask();
void taskTerminationBeforeDelete();
void taskId();
@@ -430,6 +432,7 @@ void TestQgsTaskManager::taskFinished()
QCOMPARE( *resultObtained, false );
}

#if 0 //flaky
void TestQgsTaskManager::subTask()
{
QgsTaskManager manager;
@@ -587,7 +590,6 @@ void TestQgsTaskManager::subTask()
QVERIFY( subFinished.count() > 0 );
QVERIFY( subsubFinished.count() > 0 );

#if 0 // flaky
// another test
parent = new ProgressReportingTask();
subTask = new ProgressReportingTask();
@@ -628,9 +630,8 @@ void TestQgsTaskManager::subTask()
}
flushEvents();
QVERIFY( parentFinished2.count() > 0 );
#endif
}

#endif

void TestQgsTaskManager::taskId()
{

0 comments on commit af5eb6a

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