Skip to content

Commit 18941a1

Browse files
committed
Fix timeout in network timeout tests
1 parent d0c24ed commit 18941a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/src/core/testqgsnetworkaccessmanager.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,10 @@ void TestQgsNetworkAccessManager::initTestCase()
125125
QCoreApplication::setOrganizationDomain( QStringLiteral( "qgis.org" ) );
126126
QCoreApplication::setApplicationName( QStringLiteral( "QGIS-TEST" ) );
127127

128-
QgsSettings().setValue( QStringLiteral( "/qgis/networkAndProxy/networkTimeout" ), 1000 );
129128
QgsApplication::init();
130129
QgsApplication::initQgis();
130+
131+
QgsSettings().setValue( QStringLiteral( "/qgis/networkAndProxy/networkTimeout" ), 1000 );
131132
}
132133

133134
void TestQgsNetworkAccessManager::cleanupTestCase()

0 commit comments

Comments
 (0)