mirror of https://github.com/docker/compose.git
Disable a test against docker 1.8.3 because it fails due to a bug in docker engine.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
66f1c8e6c0
commit
a71d9af522
|
@ -693,10 +693,11 @@ class ServiceTest(DockerClientTestCase):
|
||||||
|
|
||||||
@mock.patch('compose.service.log')
|
@mock.patch('compose.service.log')
|
||||||
def test_scale_with_custom_container_name_outputs_warning(self, mock_log):
|
def test_scale_with_custom_container_name_outputs_warning(self, mock_log):
|
||||||
"""
|
"""Test that calling scale on a service that has a custom container name
|
||||||
Test that calling scale on a service that has a custom container name
|
|
||||||
results in warning output.
|
results in warning output.
|
||||||
"""
|
"""
|
||||||
|
# Disable this test against earlier versions because it is flaky
|
||||||
|
self.require_api_version('1.21')
|
||||||
service = self.create_service('app', container_name='custom-container')
|
service = self.create_service('app', container_name='custom-container')
|
||||||
self.assertEqual(service.custom_container_name(), 'custom-container')
|
self.assertEqual(service.custom_container_name(), 'custom-container')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue