Skip to content

Commit cd3a696

Browse files
thaJeztahchris-crone
authored andcommitted
xfail test_init_swarm_data_path_addr
This test can fail if `eth0` has multiple IP addresses; E docker.errors.APIError: 400 Client Error: Bad Request ("interface eth0 has more than one IPv6 address (2001:db8:1::242:ac11:2 and fe80::42:acff:fe11:2)") Which is not a failiure, but depends on the environment that the test is run in. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 38d18a2 commit cd3a696

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/integration/api_swarm_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,5 +250,6 @@ def test_rotate_manager_unlock_key(self):
250250
assert key_1['UnlockKey'] != key_2['UnlockKey']
251251

252252
@requires_api_version('1.30')
253+
@pytest.mark.xfail(reason='Can fail if eth0 has multiple IP addresses')
253254
def test_init_swarm_data_path_addr(self):
254255
assert self.init_swarm(data_path_addr='eth0')

0 commit comments

Comments
 (0)