Skip to content

Commit f60e0b6

Browse files
authoredMar 12, 2019
Merge pull request #9491 from m-kuhn/ogr_provider_test_flaky
Disable flaky ogrprovider test
2 parents 1dc146a + 8c676ba commit f60e0b6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎tests/src/providers/testqgsogrprovider.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,12 @@ void failOnWarning( QtMsgType type, const QMessageLogContext &context, const QSt
184184

185185
void TestQgsOgrProvider::testThread()
186186
{
187+
// Disabled by @m-kuhn
188+
// This test is flaky
189+
// See https://travis-ci.org/qgis/QGIS/jobs/505008602#L6464-L7108
190+
if ( QgsTest::isTravis() )
191+
QSKIP( "This test is disabled on Travis CI environment" );
192+
187193
// After reading a QgsVectorLayer (getFeatures) from another thread the QgsOgrConnPoolGroup starts
188194
// an expiration timer. The timer belongs to the main thread in order to listening the event
189195
// loop and is parented to its QgsOgrConnPoolGroup. So when we delete the QgsVectorLayer, the

0 commit comments

Comments
 (0)
Please sign in to comment.