Prevent flaky test by changing container names.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
Daniel Nephin 2015-08-26 18:55:22 -04:00
commit 235fe21fd0
3 changed files with 4 additions and 2 deletions

View file

@ -695,7 +695,7 @@ class ServiceTest(DockerClientTestCase):
Test that calling scale on a service that has a custom container name
results in warning output.
"""
service = self.create_service('web', container_name='custom-container')
service = self.create_service('app', container_name='custom-container')
self.assertEqual(service.custom_container_name(), 'custom-container')
service.scale(3)