test: postgres_exporter fix port in alternative scenario

Signed-off-by: anviar <oleg.kluchkin+github@gmail.com>
This commit is contained in:
anviar 2024-02-13 16:19:21 +03:00
parent a56e3b4802
commit cf1f04dd63
No known key found for this signature in database
GPG key ID: 1D9496B16B0FC606

View file

@ -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