Disable flaky ogrprovider test

This commit is contained in:
Matthias Kuhn 2019-03-12 10:47:08 +01:00
parent f83990f44f
commit 8c676ba0b3
No known key found for this signature in database
GPG Key ID: 7A7F1A1C90C3E6A7

View File

@ -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