Fixed events command related unit tests by passing a timeout value

Signed-off-by: Damien Nadé <github@livna.org>
This commit is contained in:
Damien Nadé 2017-02-21 18:17:34 +01:00
parent b587139d3c
commit f36ef399ad
1 changed files with 6 additions and 3 deletions

View File

@ -228,7 +228,8 @@ class DockerApiTest(BaseAPIClientTest):
'GET',
url_prefix + 'events',
params={'since': None, 'until': None, 'filters': None},
stream=True
stream=True,
timeout=DEFAULT_TIMEOUT_SECONDS
)
def test_events_with_since_until(self):
@ -247,7 +248,8 @@ class DockerApiTest(BaseAPIClientTest):
'until': ts + 10,
'filters': None
},
stream=True
stream=True,
timeout=DEFAULT_TIMEOUT_SECONDS
)
def test_events_with_filters(self):
@ -265,7 +267,8 @@ class DockerApiTest(BaseAPIClientTest):
'until': None,
'filters': expected_filters
},
stream=True
stream=True,
timeout=DEFAULT_TIMEOUT_SECONDS
)
def _socket_path_for_client_session(self, client):