We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cfb275 commit 1508804Copy full SHA for 1508804
1 file changed
src/test/java/com/datadoghq/trace/impl/DDSpanBuilderTest.java
@@ -223,9 +223,9 @@ public void shouldTrackAllSpanInTrace() throws InterruptedException {
223
}
224
spans.get(1).finish(tickEnd);
225
226
- assertThat(root.context.getTrace()).hasSize(nbSamples + 1);
227
- assertThat(root.context.getTrace()).containsAll(spans);
228
- assertThat(spans.get((int) (Math.random() * nbSamples)).context.getTrace()).containsAll(spans);
+ assertThat(root.context().getTrace()).hasSize(nbSamples + 1);
+ assertThat(root.context().getTrace()).containsAll(spans);
+ assertThat(spans.get((int) (Math.random() * nbSamples)).context().getTrace()).containsAll(spans);
229
230
231
0 commit comments