File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
api/incubator/src/test/java/io/opentelemetry/api/incubator Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ void noopEquality() {
2121 @ Test
2222 void instrumentationConfigFallback () {
2323 ConfigProvider configProvider = ConfigProvider .noop ();
24- assertThat (configProvider .getInstrumentationConfig ()).isNull ();
24+ assertThat (configProvider .getInstrumentationConfig ()).isNotNull ();
2525 assertThat (configProvider .getInstrumentationConfig ("servlet" )).isNotNull ();
2626 assertThat (configProvider .getGeneralInstrumentationConfig ()).isNotNull ();
2727 }
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ void instrumentationConfigFallback() {
119119 ExtendedOpenTelemetry openTelemetry = spy (ExtendedOpenTelemetry .class );
120120 when (openTelemetry .getConfigProvider ()).thenReturn (configProvider );
121121
122- assertThat (configProvider .getInstrumentationConfig ()).isNull ();
122+ assertThat (configProvider .getInstrumentationConfig ()).isNotNull ();
123123 assertThat (openTelemetry .getInstrumentationConfig ("servlet" )).isNotNull ();
124124 assertThat (openTelemetry .getGeneralInstrumentationConfig ()).isNotNull ();
125125 }
You can’t perform that action at this time.
0 commit comments