mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Increase timeout for pkg tests.
* Since we started running a refresh_db in pkgrepo (7c3d0cc80d
), we may be checking an exit code prematurely. This increases the timeouts to 120 seconds to see if Jenkins will calm itself.
This commit is contained in:
parent
94591d7e2d
commit
ca57a864b8
@ -37,7 +37,7 @@ class PkgrepoTest(integration.ModuleCase,
|
||||
self.skipTest(
|
||||
'aptsources.sourceslist python module not found'
|
||||
)
|
||||
ret = self.run_function('state.sls', mods='pkgrepo.managed')
|
||||
ret = self.run_function('state.sls', mods='pkgrepo.managed', timeout=120)
|
||||
# If the below assert fails then no states were run, and the SLS in
|
||||
# tests/integration/files/file/base/pkgrepo/managed.sls needs to be
|
||||
# corrected.
|
||||
@ -52,7 +52,7 @@ class PkgrepoTest(integration.ModuleCase,
|
||||
This is a destructive test as it removes the repository added in the
|
||||
above test.
|
||||
'''
|
||||
ret = self.run_function('state.sls', mods='pkgrepo.absent')
|
||||
ret = self.run_function('state.sls', mods='pkgrepo.absent', timeout=120)
|
||||
# If the below assert fails then no states were run, and the SLS in
|
||||
# tests/integration/files/file/base/pkgrepo/absent.sls needs to be
|
||||
# corrected.
|
||||
|
Loading…
Reference in New Issue
Block a user