mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-10 06:14:13 +00:00
test: postgres_exporter fix port in alternative scenario
Signed-off-by: anviar <oleg.kluchkin+github@gmail.com>
This commit is contained in:
parent
a56e3b4802
commit
cf1f04dd63
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@ def test_service(host):
|
|||
|
||||
|
||||
@pytest.mark.parametrize("sockets", [
|
||||
"tcp://127.0.0.1:9187",
|
||||
"tcp://127.0.1.1:9187",
|
||||
"tcp://127.0.0.1:8080",
|
||||
"tcp://127.0.1.1:8080",
|
||||
])
|
||||
def test_socket(host, sockets):
|
||||
assert host.socket(sockets).is_listening
|
||||
|
|
Loading…
Reference in a new issue