Skip to content

Commit

Permalink
Disable flaky ogrprovider test
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Mar 12, 2019
1 parent f83990f commit 8c676ba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/src/providers/testqgsogrprovider.cpp
Original file line number Diff line number Diff line change
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 8c676ba

Please sign in to comment.