diff options
Diffstat (limited to 'tests/integration/models_swarm_test.py')
-rw-r--r-- | tests/integration/models_swarm_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/models_swarm_test.py b/tests/integration/models_swarm_test.py index e45ff3c..ac18030 100644 --- a/tests/integration/models_swarm_test.py +++ b/tests/integration/models_swarm_test.py @@ -16,7 +16,7 @@ class SwarmTest(unittest.TestCase): def test_init_update_leave(self): client = docker.from_env(version=TEST_API_VERSION) client.swarm.init( - advertise_addr='eth0', snapshot_interval=5000, + advertise_addr='127.0.0.1', snapshot_interval=5000, listen_addr=helpers.swarm_listen_addr() ) assert client.swarm.attrs['Spec']['Raft']['SnapshotInterval'] == 5000 |