Skip to content
Permalink
Browse files

Fix timeout in network timeout tests

  • Loading branch information
nyalldawson committed Feb 1, 2019
1 parent d0c24ed commit 18941a1aa27096458a2296f86a9d645b064b34ef
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/src/core/testqgsnetworkaccessmanager.cpp
@@ -125,9 +125,10 @@ void TestQgsNetworkAccessManager::initTestCase()
QCoreApplication::setOrganizationDomain( QStringLiteral( "qgis.org" ) );
QCoreApplication::setApplicationName( QStringLiteral( "QGIS-TEST" ) );

QgsSettings().setValue( QStringLiteral( "/qgis/networkAndProxy/networkTimeout" ), 1000 );
QgsApplication::init();
QgsApplication::initQgis();

QgsSettings().setValue( QStringLiteral( "/qgis/networkAndProxy/networkTimeout" ), 1000 );
}

void TestQgsNetworkAccessManager::cleanupTestCase()

0 comments on commit 18941a1

Please sign in to comment.
You can’t perform that action at this time.