From 9f1d538b5fa1c707941180ec54bc10abe4b15b4e Mon Sep 17 00:00:00 2001 From: Ziming Zhang Date: Mon, 20 Jan 2020 11:51:03 +0800 Subject: [PATCH] feat(cicd): try fix sometimes docker push time out Signed-off-by: Ziming Zhang Change-Id: I67193a7c5b80d169237a884895627f68a1f65933 --- tests/apitests/python/library/docker_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/apitests/python/library/docker_api.py b/tests/apitests/python/library/docker_api.py index 715799a4c..8d6b5e244 100644 --- a/tests/apitests/python/library/docker_api.py +++ b/tests/apitests/python/library/docker_api.py @@ -11,7 +11,7 @@ except ImportError: class DockerAPI(object): def __init__(self): - self.DCLIENT = docker.APIClient(base_url='unix://var/run/docker.sock',version='auto',timeout=10) + self.DCLIENT = docker.APIClient(base_url='unix://var/run/docker.sock',version='auto',timeout=30) self.DCLIENT2 = docker.from_env() def docker_login(self, registry, username, password, expected_error_message = None):