Skip to content

Commit

Permalink
[python] Re-enable trace_propagation_style_w3c scenario (#3553)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeauchesne authored Nov 26, 2024
1 parent 217e992 commit 4fe4740
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-end-to-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
- name: Run TRACE_PROPAGATION_STYLE_W3C scenario
if: always() && steps.build.outcome == 'success' && inputs.library != 'python' && contains(inputs.scenarios, '"TRACE_PROPAGATION_STYLE_W3C"')
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"TRACE_PROPAGATION_STYLE_W3C"')
run: ./run.sh TRACE_PROPAGATION_STYLE_W3C
- name: Run INTEGRATIONS scenario
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"INTEGRATIONS"')
Expand Down
4 changes: 2 additions & 2 deletions tests/test_distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2022 Datadog, Inc.

import json
from utils import weblog, interfaces, scenarios, features


Expand All @@ -18,8 +19,7 @@ def test_main(self):
interfaces.library.assert_trace_exists(self.r)

assert self.r.status_code == 200
assert self.r.json() is not None
data = self.r.json()
data = json.loads(self.r.text)
assert "traceparent" in data["request_headers"]
assert "x-datadog-parent-id" not in data["request_headers"]
assert "x-datadog-sampling-priority" not in data["request_headers"]
Expand Down

0 comments on commit 4fe4740

Please sign in to comment.