Skip to content

Commit 301a0f9

Browse files
traskCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent fa7c908 commit 301a0f9

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

smoke-tests-otel-starter/spring-boot-2/src/testDeclarativeConfig/java/io/opentelemetry/spring/smoketest/OtelSpringStarterSmokeTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,8 @@ void restTemplate() {
7575
SERVICE_INSTANCE_ID,
7676
AbstractCharSequenceAssert::isNotBlank)))
7777
.hasAttribute(HTTP_ROUTE, "/ping")
78-
.hasAttributesSatisfying(
79-
satisfies(THREAD_ID, val -> val.isNotZero()),
80-
satisfies(THREAD_NAME, val -> val.isNotBlank())),
78+
.hasAttribute(satisfies(THREAD_ID, val -> val.isNotZero()))
79+
.hasAttribute(satisfies(THREAD_NAME, val -> val.isNotBlank())),
8180
AbstractSpringStarterSmokeTest::withSpanAssert));
8281
}
8382
}

0 commit comments

Comments
 (0)