fixed tests for molecule/default ..
This commit is contained in:
parent
07172620cd
commit
c15a466912
@ -73,8 +73,8 @@ def test_open_ports(host):
|
||||
"""Test if the main port is open and the agent-auth is not open."""
|
||||
distribution = host.system_info.distribution.lower()
|
||||
if distribution == 'ubuntu':
|
||||
assert host.socket("tcp://127.0.0.1:1515").is_listening
|
||||
assert host.socket("tcp://127.0.0.1:1514").is_listening
|
||||
assert host.socket("tcp://0.0.0.0:1515").is_listening
|
||||
assert host.socket("tcp://0.0.0.0:1514").is_listening
|
||||
elif distribution == 'centos':
|
||||
assert host.socket("tcp://127.0.0.1:1515").is_listening
|
||||
assert host.socket("tcp://127.0.0.1:1514").is_listening
|
||||
assert host.socket("tcp://:::1515").is_listening
|
||||
assert host.socket("tcp://:::1514").is_listening
|
||||
|
||||
Loading…
Reference in New Issue
Block a user