From cb21fa2de5ad4432a0ebf7a2bc9e49556bec41b7 Mon Sep 17 00:00:00 2001 From: Tom Tuffin Date: Wed, 4 Oct 2023 16:11:51 +0200 Subject: [PATCH] fix: e2e test ws binding to ipv6 Missed to update the 'host' variable, which is used for instantiating the websocket server --- tests/e2e/test_match_multiple_rules.py | 2 +- tests/e2e/test_non_alpha_keys.py | 2 +- tests/e2e/test_run_module_output.py | 2 +- tests/e2e/test_websocket.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/e2e/test_match_multiple_rules.py b/tests/e2e/test_match_multiple_rules.py index bcbecfeb..2627bd25 100644 --- a/tests/e2e/test_match_multiple_rules.py +++ b/tests/e2e/test_match_multiple_rules.py @@ -23,7 +23,7 @@ async def test_match_multiple_rules(): and send the event messages to a websocket server """ # variables - host = "localhost" + host = "127.0.0.1" endpoint = "/api/ws2" proc_id = "42" port = 31415 diff --git a/tests/e2e/test_non_alpha_keys.py b/tests/e2e/test_non_alpha_keys.py index ff87d5e4..e0cb48be 100644 --- a/tests/e2e/test_non_alpha_keys.py +++ b/tests/e2e/test_non_alpha_keys.py @@ -23,7 +23,7 @@ async def test_non_alpha_numeric_keys(): and send the event messages to a websocket server """ # variables - host = "localhost" + host = "127.0.0.1" endpoint = "/api/ws2" proc_id = "42" port = 31415 diff --git a/tests/e2e/test_run_module_output.py b/tests/e2e/test_run_module_output.py index a3d4be09..710072e5 100644 --- a/tests/e2e/test_run_module_output.py +++ b/tests/e2e/test_run_module_output.py @@ -23,7 +23,7 @@ async def test_run_module_output(): run_module and then used in a condition """ # variables - host = "localhost" + host = "127.0.0.1" endpoint = "/api/ws2" proc_id = "42" port = 31415 diff --git a/tests/e2e/test_websocket.py b/tests/e2e/test_websocket.py index 7ca9c6fb..cd71b85d 100644 --- a/tests/e2e/test_websocket.py +++ b/tests/e2e/test_websocket.py @@ -22,7 +22,7 @@ async def test_websocket_messages(): send event messages to a websocket server """ # variables - host = "localhost" + host = "127.0.0.1" endpoint = "/api/ws2" proc_id = "42" port = 31415