File tree Expand file tree Collapse file tree
tests/integrations/rust_tracing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -226,14 +226,14 @@ def test_nested_on_new_span_on_close(
226226 assert second_span ["end_timestamp" ] is not None
227227
228228 # Ensure the extra data from Rust is hooked up in both spans
229- first_span_data = second_span ["attributes" ]
229+ first_span_data = first_span ["attributes" ]
230230 assert first_span_data ["use_memoized" ]
231- assert first_span_data ["index" ] == 10
231+ assert first_span_data ["index" ] == 9
232232 assert first_span_data ["version" ] == "None"
233233
234- second_span_data = first_span ["attributes" ]
234+ second_span_data = second_span ["attributes" ]
235235 assert second_span_data ["use_memoized" ]
236- assert second_span_data ["index" ] == 9
236+ assert second_span_data ["index" ] == 10
237237 assert second_span_data ["version" ] == "None"
238238 else :
239239 events = capture_events ()
You can’t perform that action at this time.
0 commit comments