Merge pull request #1704 from aanand/fix-timeout-type
Make sure up/restart/stop timeout is an int
This commit is contained in:
commit
c7dccccd1f
2 changed files with 5 additions and 5 deletions
|
|
@ -13,7 +13,7 @@ from .testcases import DockerClientTestCase
|
|||
class ProjectTestCase(DockerClientTestCase):
|
||||
def run_up(self, cfg, **kwargs):
|
||||
kwargs.setdefault('smart_recreate', True)
|
||||
kwargs.setdefault('timeout', 0.1)
|
||||
kwargs.setdefault('timeout', 1)
|
||||
|
||||
project = self.make_project(cfg)
|
||||
project.up(**kwargs)
|
||||
|
|
@ -171,7 +171,7 @@ def converge(service,
|
|||
plan,
|
||||
insecure_registry=insecure_registry,
|
||||
do_build=do_build,
|
||||
timeout=0.1,
|
||||
timeout=1,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue