Merge pull request #2278 from dnephin/disable_flaky_test

Disable flaky test against 1.8.3
This commit is contained in:
mnowster 2015-10-29 12:04:54 +00:00
commit 0b25014020
1 changed files with 3 additions and 2 deletions

View File

@ -693,10 +693,11 @@ class ServiceTest(DockerClientTestCase):
@mock.patch('compose.service.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.
"""
# 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')
self.assertEqual(service.custom_container_name(), 'custom-container')