chore: fix alternative listen address in integration tests

Signed-off-by: dobbi84 <davide.obbi@e4company.com>
This commit is contained in:
dobbi84 2024-09-25 10:21:07 +02:00 committed by gardar
parent e22cd9f9f1
commit 10d70f06a4
2 changed files with 1 additions and 4 deletions

View file

@ -4,9 +4,7 @@ provisioner:
group_vars:
all:
influxdb_exporter_binary_local_dir: "/tmp/influxdb_exporter-linux-amd64"
influxdb_exporter_web_listen_address:
- '127.0.0.1:8080'
- '127.0.1.1:8080'
influxdb_exporter_web_listen_address: '127.0.0.1:8080'
go_arch: amd64
influxdb_exporter_version: 0.11.2

View file

@ -24,7 +24,6 @@ def test_service(host):
@pytest.mark.parametrize("sockets", [
"tcp://127.0.0.1:8080",
"tcp://127.0.1.1:8080",
])
def test_socket(host, sockets):
assert host.socket(sockets).is_listening