-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parametric(cpp): enable prod and more parametric tests (#2501)
- Loading branch information
Damien Mehala
authored
Jun 1, 2024
1 parent
ec5ea51
commit 68fb711
Showing
5 changed files
with
10 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -479,8 +479,8 @@ def test_tracestate_included_traceparent_missing(self, test_agent, test_library) | |
expects the tracestate to be discarded | ||
""" | ||
with test_library: | ||
_, tracestate1 = make_single_request_and_get_tracecontext(test_library, [["tracestate", "foo=1"],]) | ||
_, tracestate2 = make_single_request_and_get_tracecontext(test_library, [["tracestate", "foo=1,bar=2"],]) | ||
_, tracestate1 = make_single_request_and_get_tracecontext(test_library, [["tracestate", "foo=1"],],) | ||
_, tracestate2 = make_single_request_and_get_tracecontext(test_library, [["tracestate", "foo=1,bar=2"],],) | ||
|
||
# Updated the test to check that the number of tracestate list-members is the same, | ||
# since Datadog will add an entry. | ||
|
@@ -719,7 +719,6 @@ def test_tracestate_duplicated_keys(self, test_agent, test_library): | |
@missing_feature(context.library < "[email protected]", reason="Not implemented") | ||
@missing_feature(context.library < "[email protected]", reason="Not implemented") | ||
@missing_feature(context.library == "java", reason="Not implemented") | ||
@missing_feature(context.library == "cpp", reason="Not implemented") | ||
@missing_feature(context.library < "[email protected]", reason="Not implemented") | ||
@missing_feature(context.library < "[email protected]", reason="Not implemented") | ||
def test_tracestate_w3c_p_extract(self, test_agent, test_library): | ||
|
@@ -773,7 +772,6 @@ def test_tracestate_w3c_p_extract(self, test_agent, test_library): | |
@missing_feature(context.library < "[email protected]", reason="Not implemented") | ||
@missing_feature(context.library < "[email protected]", reason="Not implemented") | ||
@missing_feature(context.library == "java", reason="Not implemented") | ||
@missing_feature(context.library == "cpp", reason="Not implemented") | ||
@missing_feature(context.library < "[email protected]", reason="Not implemented") | ||
@missing_feature(context.library < "[email protected]", reason="Not implemented") | ||
def test_tracestate_w3c_p_inject(self, test_agent, test_library): | ||
|
@@ -805,7 +803,6 @@ def test_tracestate_w3c_p_extract_datadog_w3c(self, test_agent, test_library): | |
Ensure the last parent id tag is set according to the W3C phase 3 spec | ||
""" | ||
with test_library: | ||
|
||
# 1) Trace ids and parent ids in datadog and tracecontext headers match | ||
with test_library.start_span( | ||
name="identical_trace_info", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters