Skip to content

Commit 12eee35

Browse files
committed
Spans must be named in camel cases and not kabab case
1 parent dc29941 commit 12eee35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-cloud-task-core/src/test/java/org/springframework/cloud/task/configuration/observation/ObservationIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ void testSuccessfulObservation() {
6464
List<FinishedSpan> finishedSpans = finishedSpans();
6565

6666
SpansAssert.then(finishedSpans)
67-
.thenASpanWithNameEqualTo("my-command-line-runner")
67+
.thenASpanWithNameEqualTo("myCommandLineRunner")
6868
.hasTag("spring.cloud.task.runner.bean-name", "myCommandLineRunner")
6969
.backToSpans()
70-
.thenASpanWithNameEqualTo("my-application-runner")
70+
.thenASpanWithNameEqualTo("myApplicationRunner")
7171
.hasTag("spring.cloud.task.runner.bean-name", "myApplicationRunner");
7272
MeterRegistryAssert.then(this.meterRegistry)
7373
.hasTimerWithNameAndTags("spring.cloud.task.runner",

0 commit comments

Comments
 (0)