Skip to content

Commit 506425b

Browse files
committed
UT update
1 parent 73b1797 commit 506425b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javaagent-extension-api/src/test/java/io/opentelemetry/javaagent/extension/DeclarativeConfigPropertiesBridgeTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ void getProperties() {
140140
// as for otel.instrumentation.*)
141141
assertThat(bridge.getBoolean("acme.full_name.preserved")).isTrue();
142142
// Example of property name collision:
143-
assertThat(bridge.getString("acme.full_name.preserved"))
144-
.isEqualTo(bridge.getString("otel.instrumentation.acme.full_name.preserved"));
143+
assertThat(bridge.getBoolean("acme.full_name.preserved"))
144+
.isEqualTo(bridge.getBoolean("otel.instrumentation.acme.full_name.preserved"));
145145
}
146146
}

0 commit comments

Comments
 (0)