File tree Expand file tree Collapse file tree
ddprof-test/src/test/java/com/datadoghq/profiler/wallclock Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212
1313public class DeferredTaskBlockTest extends AbstractProfilerTest {
1414 private static final int OSTHREAD_STATE_SLEEPING = 7 ;
15- private static final long ROOT_SPAN_ID = 0L ;
15+ private static final long ROOT_SPAN_ID = 0x7001L ;
1616 private static final long SPAN_ID = 0L ;
1717 private static final long BLOCKER_WITHOUT_STACK = 0x7101L ;
1818 private static final long BLOCKER_WITH_STACK = 0x7102L ;
@@ -28,8 +28,8 @@ public void offThreadRecordWithoutStackReferenceIsDroppedAndCounted() throws Exc
2828 block .endTicks ,
2929 BLOCKER_WITHOUT_STACK ,
3030 UNBLOCKING_SPAN_ID ,
31- ROOT_SPAN_ID ,
32- SPAN_ID ));
31+ SPAN_ID ,
32+ ROOT_SPAN_ID ));
3333
3434 stopProfiler ();
3535
@@ -51,8 +51,8 @@ public void offThreadRecordWithExplicitStackReferenceEmitsTaskBlock() throws Exc
5151 block .endTicks ,
5252 BLOCKER_WITH_STACK ,
5353 UNBLOCKING_SPAN_ID ,
54- ROOT_SPAN_ID ,
5554 SPAN_ID ,
55+ ROOT_SPAN_ID ,
5656 block .snapshot [0 ],
5757 block .snapshot [1 ],
5858 (int ) block .snapshot [2 ]));
You can’t perform that action at this time.
0 commit comments