Prevent flaky test by changing container names.
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
parent
d264c2e33a
commit
235fe21fd0
3 changed files with 4 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue