Skip to content

Commit 1508804

Browse files
author
Guillaume Polaert
committed
[PR #1] make fields private
1 parent 8cfb275 commit 1508804

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/test/java/com/datadoghq/trace/impl/DDSpanBuilderTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ public void shouldTrackAllSpanInTrace() throws InterruptedException {
223223
}
224224
spans.get(1).finish(tickEnd);
225225

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);
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);
229229

230230

231231
}

0 commit comments

Comments
 (0)