Skip to content

Commit

Permalink
fix 128bit tests too
Browse files Browse the repository at this point in the history
  • Loading branch information
mabdinur committed Jan 31, 2025
1 parent e64068f commit 38d094d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/parametric/test_128_bit_traceids.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest

from utils.parametric.spec.trace import find_first_span_in_trace_payload, find_trace, find_only_span
from utils import missing_feature, context, scenarios, features
from utils import missing_feature, irrelevant, context, scenarios, features

parametrize = pytest.mark.parametrize
POWER_2_64 = 18446744073709551616
Expand Down Expand Up @@ -213,6 +213,7 @@ def test_datadog_128_bit_generation_enabled_by_default(self, test_agent, test_li

@missing_feature(context.library == "cpp", reason="propagation style not supported")
@missing_feature(context.library == "ruby", reason="not implemented")
@irrelevant(context.library > "[email protected]", reason="3.x set `b3` instead of `B3 single header`")
@pytest.mark.parametrize(
"library_env",
[{"DD_TRACE_PROPAGATION_STYLE": "B3 single header", "DD_TRACE_128_BIT_TRACEID_GENERATION_ENABLED": "false"}],
Expand All @@ -236,6 +237,7 @@ def test_b3single_128_bit_propagation(self, test_agent, test_library):

@missing_feature(context.library == "cpp", reason="propagation style not supported")
@missing_feature(context.library == "ruby", reason="not implemented")
@irrelevant(context.library > "[email protected]", reason="3.x set `b3` instead of `B3 single header`")
@pytest.mark.parametrize(
"library_env",
[{"DD_TRACE_PROPAGATION_STYLE": "B3 single header", "DD_TRACE_128_BIT_TRACEID_GENERATION_ENABLED": "true"}],
Expand All @@ -257,6 +259,7 @@ def test_b3single_128_bit_propagation_and_generation(self, test_agent, test_libr
@missing_feature(
context.library == "ruby", reason="Issue: Ruby doesn't support case-insensitive distributed headers"
)
@irrelevant(context.library > "[email protected]", reason="3.x set `b3` instead of `B3 single header`")
@pytest.mark.parametrize(
"library_env",
[{"DD_TRACE_PROPAGATION_STYLE": "B3 single header", "DD_TRACE_128_BIT_TRACEID_GENERATION_ENABLED": "false"}],
Expand All @@ -274,6 +277,7 @@ def test_b3single_128_bit_generation_disabled(self, test_agent, test_library):

@missing_feature(context.library == "cpp", reason="propagation style not supported")
@missing_feature(context.library == "ruby", reason="not implemented")
@irrelevant(context.library > "[email protected]", reason="3.x set `b3` instead of `B3 single header`")
@pytest.mark.parametrize(
"library_env",
[{"DD_TRACE_PROPAGATION_STYLE": "B3 single header", "DD_TRACE_128_BIT_TRACEID_GENERATION_ENABLED": "true"}],
Expand Down

0 comments on commit 38d094d

Please sign in to comment.