mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-19 07:07:42 +01:00
Merge pull request #10543 from bitsf/fix_githubactions_testcase_timeout
Fix githubactions testcase timeout
This commit is contained in:
commit
cdd717ef77
@ -11,7 +11,7 @@ except ImportError:
|
|||||||
|
|
||||||
class DockerAPI(object):
|
class DockerAPI(object):
|
||||||
def __init__(self):
|
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()
|
self.DCLIENT2 = docker.from_env()
|
||||||
|
|
||||||
def docker_login(self, registry, username, password, expected_error_message = None):
|
def docker_login(self, registry, username, password, expected_error_message = None):
|
||||||
|
Loading…
Reference in New Issue
Block a user