diff --git a/smoke-tests/src/test/groovy/org/hypertrace/agent/smoketest/TraceInspector.java b/smoke-tests/src/test/groovy/org/hypertrace/agent/smoketest/TraceInspector.java index d9b6ac02..254e6ff6 100644 --- a/smoke-tests/src/test/groovy/org/hypertrace/agent/smoketest/TraceInspector.java +++ b/smoke-tests/src/test/groovy/org/hypertrace/agent/smoketest/TraceInspector.java @@ -37,7 +37,7 @@ public TraceInspector(Collection traces) { public Stream getSpanStream() { return traces.stream() .flatMap(it -> it.getResourceSpansList().stream()) - .flatMap(it -> it.getInstrumentationLibrarySpansList().stream()) + .flatMap(it -> it.getScopeSpansList().stream()) .flatMap(it -> it.getSpansList().stream()); }