Skip to content

Commit

Permalink
Merge pull request #9491 from m-kuhn/ogr_provider_test_flaky
Browse files Browse the repository at this point in the history
Disable flaky ogrprovider test
  • Loading branch information
m-kuhn committed Mar 12, 2019
2 parents 1dc146a + 8c676ba commit f60e0b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/src/providers/testqgsogrprovider.cpp
Expand Up @@ -184,6 +184,12 @@ void failOnWarning( QtMsgType type, const QMessageLogContext &context, const QSt

void TestQgsOgrProvider::testThread()
{
// Disabled by @m-kuhn
// This test is flaky
// See https://travis-ci.org/qgis/QGIS/jobs/505008602#L6464-L7108
if ( QgsTest::isTravis() )
QSKIP( "This test is disabled on Travis CI environment" );

// After reading a QgsVectorLayer (getFeatures) from another thread the QgsOgrConnPoolGroup starts
// an expiration timer. The timer belongs to the main thread in order to listening the event
// loop and is parented to its QgsOgrConnPoolGroup. So when we delete the QgsVectorLayer, the
Expand Down

0 comments on commit f60e0b6

Please sign in to comment.