mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
We need a bigger timeout, salt's repo is pretty big now.
This commit is contained in:
parent
bb9e431491
commit
fd306ea0b0
@ -116,6 +116,8 @@ class GitTest(integration.ModuleCase, integration.SaltReturnAssertsMixIn):
|
||||
'''
|
||||
git.latest with numeric revision
|
||||
'''
|
||||
# We should actually clone a smaller repository, salt's repo is getting
|
||||
# pretty big
|
||||
name = os.path.join(integration.TMP, 'salt_repo')
|
||||
try:
|
||||
ret = self.run_state(
|
||||
@ -123,7 +125,8 @@ class GitTest(integration.ModuleCase, integration.SaltReturnAssertsMixIn):
|
||||
name='https://{0}/saltstack/salt.git'.format(self.__domain),
|
||||
rev=0.11,
|
||||
target=name,
|
||||
submodules=True
|
||||
submodules=True,
|
||||
timeout=120
|
||||
)
|
||||
self.assertSaltTrueReturn(ret)
|
||||
self.assertTrue(os.path.isdir(os.path.join(name, '.git')))
|
||||
|
Loading…
Reference in New Issue
Block a user