From 8c676ba0b3d1fde74ee261c86a137d60b40c42cb Mon Sep 17 00:00:00 2001 From: Matthias Kuhn Date: Tue, 12 Mar 2019 10:47:08 +0100 Subject: [PATCH] Disable flaky ogrprovider test --- tests/src/providers/testqgsogrprovider.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/src/providers/testqgsogrprovider.cpp b/tests/src/providers/testqgsogrprovider.cpp index 5a529fb4b3a..593e75a783a 100644 --- a/tests/src/providers/testqgsogrprovider.cpp +++ b/tests/src/providers/testqgsogrprovider.cpp @@ -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