Skip to content

Commit eebbade

Browse files
committed
We now have always a status in a span.
1 parent 98b8d24 commit eebbade

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/integrations/celery/test_celery.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ def dummy_task(x, y):
222222
assert len(execution_event["spans"]) == 1
223223
assert execution_event["spans"][0] == ApproxDict({
224224
"trace_id": str(span.trace_id),
225-
"same_process_as_parent": True,
226225
"op": "queue.process",
227226
"description": "dummy_task",
228227
})
@@ -233,11 +232,11 @@ def dummy_task(x, y):
233232
"op": "queue.submit.celery",
234233
"origin": "auto.queue.celery",
235234
"parent_span_id": submission_event["contexts"]["trace"]["span_id"],
236-
"same_process_as_parent": True,
237235
"span_id": submission_event["spans"][0]["span_id"],
238236
"start_timestamp": submission_event["spans"][0]["start_timestamp"],
239237
"timestamp": submission_event["spans"][0]["timestamp"],
240238
"trace_id": str(span.trace_id),
239+
"status": "ok",
241240
}
242241
]
243242

0 commit comments

Comments
 (0)