From 349d7424237632f7cdf4a70aed55cb459e77b6af Mon Sep 17 00:00:00 2001 From: Eugene Grebenschikov Date: Sun, 10 Dec 2023 14:25:00 -0800 Subject: [PATCH] tests: revert to using IP --- tests/test_otel.py | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/tests/test_otel.py b/tests/test_otel.py index 9a19780..9b5044c 100644 --- a/tests/test_otel.py +++ b/tests/test_otel.py @@ -189,39 +189,39 @@ class TestOTelGenerateSpansOldClient: "url, response", [ pytest.param( - "https://localhost:8443/trace-off", + "https://127.0.0.1:8443/trace-off", "TRACE-OFF", id="trace-off", ), pytest.param( - "https://localhost:8443/trace-on", + "https://127.0.0.1:8443/trace-on", "TRACE-ON", id="trace-on", ), pytest.param( - "https://localhost:8443/context-ignore", + "https://127.0.0.1:8443/context-ignore", "TRACE-OFF", id="context-ignore", ), pytest.param( - "https://localhost:8443/context-extract", + "https://127.0.0.1:8443/context-extract", "TRACE-OFF", id="context-extract", ), pytest.param( - "https://localhost:8443/context-inject", + "https://127.0.0.1:8443/context-inject", "TRACE-OFF", id="context-inject", ), pytest.param( - "https://localhost:8443/context-propagate", + "https://127.0.0.1:8443/context-propagate", "TRACE-OFF", id="context-propagate", ), ] + [ pytest.param( - "https://localhost:8443/trace-on", + "https://127.0.0.1:8443/trace-on", "TRACE-ON", id=f"bulk request {x}", ) @@ -249,67 +249,67 @@ class TestOTelGenerateSpans: "url, headers, response", [ pytest.param( - "https://localhost:8443/trace-off", + "https://127.0.0.1:8443/trace-off", None, "TRACE-OFF", id="trace-off", ), pytest.param( - "https://localhost:8443/trace-on", + "https://127.0.0.1:8443/trace-on", trace_headers, "TRACE-ON", id="trace-on with trace headers", ), pytest.param( - "https://localhost:8443/trace-on", + "https://127.0.0.1:8443/trace-on", None, "TRACE-ON", id="trace-on no trace headers over https", ), pytest.param( - "https://localhost:8443/context-ignore", + "https://127.0.0.1:8443/context-ignore", None, "TRACE-OFF", id="context-ignore no trace headers", ), pytest.param( - "https://localhost:8443/context-ignore", + "https://127.0.0.1:8443/context-ignore", trace_headers, "TRACE-OFF", id="context-ignore with trace headers", ), pytest.param( - "https://localhost:8443/context-extract", + "https://127.0.0.1:8443/context-extract", None, "TRACE-OFF", id="context-extract no trace headers", ), pytest.param( - "https://localhost:8443/context-extract", + "https://127.0.0.1:8443/context-extract", trace_headers, "TRACE-OFF", id="context-extract with trace headers", ), pytest.param( - "https://localhost:8443/context-inject", + "https://127.0.0.1:8443/context-inject", None, "TRACE-OFF", id="context-inject no trace headers", ), pytest.param( - "https://localhost:8443/context-inject", + "https://127.0.0.1:8443/context-inject", trace_headers, "TRACE-OFF", id="context-inject with trace headers", ), pytest.param( - "https://localhost:8443/context-propagate", + "https://127.0.0.1:8443/context-propagate", None, "TRACE-OFF", id="context-propagate no trace headers", ), pytest.param( - "https://localhost:8443/context-propagate", + "https://127.0.0.1:8443/context-propagate", trace_headers, "TRACE-OFF", id="context-propagate with trace headers", @@ -317,7 +317,7 @@ class TestOTelGenerateSpans: ] + [ pytest.param( - "https://localhost:8443/trace-on", + "https://127.0.0.1:8443/trace-on", None, "TRACE-ON", id=f"bulk request {x}",