summaryrefslogtreecommitdiff
path: root/tests/integration/models_services_test.py
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2016-12-08 13:08:05 -0800
committerJoffrey F <joffrey@docker.com>2016-12-08 14:50:05 -0800
commit48c5cd82fc91b874fb1502149a58f5f72a026a91 (patch)
treebd7f90ff62c167d08cbfc9eb337274a1b1997524 /tests/integration/models_services_test.py
parent3fb48d111bd3c4e1a6a490fe73f76e6021847a5d (diff)
downloaddocker-py-jenkinsfile.tar.gz
Prevent Swarm address conflictsjenkinsfile
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'tests/integration/models_services_test.py')
-rw-r--r--tests/integration/models_services_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/models_services_test.py b/tests/integration/models_services_test.py
index baa40a9..a795df9 100644
--- a/tests/integration/models_services_test.py
+++ b/tests/integration/models_services_test.py
@@ -11,7 +11,7 @@ class ServiceTest(unittest.TestCase):
def setUpClass(cls):
client = docker.from_env()
helpers.force_leave_swarm(client)
- client.swarm.init()
+ client.swarm.init(listen_addr=helpers.swarm_listen_addr())
@classmethod
def tearDownClass(cls):