diff --git a/tests/parametric/test_headers_baggage.py b/tests/parametric/test_headers_baggage.py index 44550f44e08..c4d8e56a140 100644 --- a/tests/parametric/test_headers_baggage.py +++ b/tests/parametric/test_headers_baggage.py @@ -199,6 +199,10 @@ def _assert_valid_baggage(self, test_library): headers = test_library.dd_make_child_span_and_get_headers([["baggage", "foo=valid"]]) assert "baggage" in headers + @missing_feature( + context.library == "nodejs", + reason="`dd_make_child_span_and_get_headers` calls `dd_extract_headers_and_make_child_span`, which does not work with only baggage", + ) def test_baggage_malformed_headers_D012(self, test_library): """Ensure that malformed baggage headers are handled properly. Unable to use get_baggage functions because it does not return anything""" Test_Headers_Baggage._assert_valid_baggage(self, test_library) @@ -210,6 +214,10 @@ def test_baggage_malformed_headers_D012(self, test_library): assert "baggage" not in headers + @missing_feature( + context.library == "nodejs", + reason="`dd_make_child_span_and_get_headers` calls `dd_extract_headers_and_make_child_span`, which does not work with only baggage", + ) def test_baggage_malformed_headers_D013(self, test_library): """Ensure that malformed baggage headers are handled properly. Unable to use get_baggage functions because it does not return anything""" Test_Headers_Baggage._assert_valid_baggage(self, test_library) @@ -219,6 +227,10 @@ def test_baggage_malformed_headers_D013(self, test_library): assert "baggage" not in headers + @missing_feature( + context.library == "nodejs", + reason="`dd_make_child_span_and_get_headers` calls `dd_extract_headers_and_make_child_span`, which does not work with only baggage", + ) def test_baggage_malformed_headers_D014(self, test_library): Test_Headers_Baggage._assert_valid_baggage(self, test_library) @@ -227,6 +239,10 @@ def test_baggage_malformed_headers_D014(self, test_library): assert "baggage" not in headers + @missing_feature( + context.library == "nodejs", + reason="`dd_make_child_span_and_get_headers` calls `dd_extract_headers_and_make_child_span`, which does not work with only baggage", + ) def test_baggage_malformed_headers_D015(self, test_library): Test_Headers_Baggage._assert_valid_baggage(self, test_library)