We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f808802 commit 40f2028Copy full SHA for 40f2028
tests/integrations/celery/test_celery.py
@@ -528,6 +528,13 @@ def dummy_task(self, message):
528
).get()
529
assert transaction_trace_id == task_transaction_id
530
531
+ # should NOT propagate trace (overrides `propagate_traces` parameter in integration constructor)
532
+ task_transaction_id = dummy_task.apply_async(
533
+ args=("another message",),
534
+ headers={"sentry-propagate-traces": False},
535
+ ).get()
536
+ assert transaction_trace_id != task_transaction_id
537
+
538
539
def test_apply_async_manually_span(sentry_init):
540
sentry_init(
0 commit comments