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 c0d8a13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/parametric/test_128_bit_traceids.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def test_datadog_128_bit_generation_enabled_by_default(self, test_agent, test_li
@missing_feature(context.library == "ruby", reason="not implemented")
@pytest.mark.parametrize(
"library_env",
[{"DD_TRACE_PROPAGATION_STYLE": "B3 single header", "DD_TRACE_128_BIT_TRACEID_GENERATION_ENABLED": "false"}],
[{"DD_TRACE_PROPAGATION_STYLE": "b3", "DD_TRACE_128_BIT_TRACEID_GENERATION_ENABLED": "false"}],
)
def test_b3single_128_bit_propagation(self, test_agent, test_library):
"""Ensure that external 128-bit TraceIds are properly propagated in B3
Expand All @@ -238,7 +238,7 @@ def test_b3single_128_bit_propagation(self, test_agent, test_library):
@missing_feature(context.library == "ruby", reason="not implemented")
@pytest.mark.parametrize(
"library_env",
[{"DD_TRACE_PROPAGATION_STYLE": "B3 single header", "DD_TRACE_128_BIT_TRACEID_GENERATION_ENABLED": "true"}],
[{"DD_TRACE_PROPAGATION_STYLE": "b3", "DD_TRACE_128_BIT_TRACEID_GENERATION_ENABLED": "true"}],
)
def test_b3single_128_bit_propagation_and_generation(self, test_agent, test_library):
"""Ensure that a new span from incoming headers does not modify the trace id when generation is true."""
Expand All @@ -259,7 +259,7 @@ def test_b3single_128_bit_propagation_and_generation(self, test_agent, test_libr
)
@pytest.mark.parametrize(
"library_env",
[{"DD_TRACE_PROPAGATION_STYLE": "B3 single header", "DD_TRACE_128_BIT_TRACEID_GENERATION_ENABLED": "false"}],
[{"DD_TRACE_PROPAGATION_STYLE": "b3", "DD_TRACE_128_BIT_TRACEID_GENERATION_ENABLED": "false"}],
)
def test_b3single_128_bit_generation_disabled(self, test_agent, test_library):
"""Ensure that 64-bit TraceIds are properly generated, propagated in B3
Expand All @@ -276,7 +276,7 @@ def test_b3single_128_bit_generation_disabled(self, test_agent, test_library):
@missing_feature(context.library == "ruby", reason="not implemented")
@pytest.mark.parametrize(
"library_env",
[{"DD_TRACE_PROPAGATION_STYLE": "B3 single header", "DD_TRACE_128_BIT_TRACEID_GENERATION_ENABLED": "true"}],
[{"DD_TRACE_PROPAGATION_STYLE": "b3", "DD_TRACE_128_BIT_TRACEID_GENERATION_ENABLED": "true"}],
)
def test_b3single_128_bit_generation_enabled(self, test_agent, test_library):
"""Ensure that 128-bit TraceIds are properly generated, propagated in B3
Expand Down

0 comments on commit c0d8a13

Please sign in to comment.