Skip to content

Commit 9a0abc2

Browse files
committed
Increase timeout for PyQgsAppStartup test
1 parent 00e0473 commit 9a0abc2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/src/python/test_qgsappstartup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def tearDownClass(cls):
4747
# TODO: refactor parameters to **kwargs to handle all startup combinations
4848
def doTestStartup(self, option='', testDir='', testFile='',
4949
loadPlugins=False, customization=False,
50-
timeOut=10, env=None):
50+
timeOut=30, env=None):
5151
"""Run QGIS with the given option. Wait for testFile to be created.
5252
If time runs out, fail.
5353
"""
@@ -129,7 +129,7 @@ def testPluginPath(self):
129129
option="--optionspath",
130130
testDir=testDir,
131131
testFile="plugin_started.txt",
132-
timeOut=10,
132+
timeOut=30,
133133
loadPlugins=True,
134134
env={'QGIS_PLUGINPATH':
135135
str(QtCore.QString(testDir).toLocal8Bit())})
@@ -151,7 +151,7 @@ def testPyQgisStartupEnvVar(self):
151151
msg = 'Failed to create test file from executing PYQGIS_STARTUP file'
152152
assert self.doTestStartup(
153153
testFile=testfilepath,
154-
timeOut=10,
154+
timeOut=30,
155155
env={'PYQGIS_STARTUP': testmod}), msg
156156

157157

0 commit comments

Comments
 (0)