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 e8f6886 commit af3bdaeCopy full SHA for af3bdae
tests/integrations/threading/test_threading.py
@@ -244,6 +244,8 @@ def do_some_work(number):
244
t.join()
245
246
if propagate_scope:
247
+ # The children spans from the threads become parts of the existing span
248
+ # tree since we propagated the scope
249
assert len(events) == 1
250
(event,) = events
251
@@ -258,6 +260,9 @@ def do_some_work(number):
258
260
)
259
261
262
elif not propagate_scope:
263
+ # The spans from the threads become their own root spans/transactions
264
+ # as the connection to the parent span was severed when the scope was
265
+ # cleared
266
assert len(events) == 3
267
(event1, event2, event3) = events
268
0 commit comments