From 2776ee5e04d822bbe89bff8ae5a63f624997042d Mon Sep 17 00:00:00 2001 From: Shashank Patidar Date: Mon, 18 Mar 2024 17:51:44 +0530 Subject: [PATCH] fix smoke tests --- .../groovy/org/hypertrace/agent/smoketest/TraceInspector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); }