diff --git a/data-prepper-plugins/otel-proto-common/src/test/java/org/opensearch/dataprepper/plugins/otel/codec/OTLPJsonLogsDecoderTest.java b/data-prepper-plugins/otel-proto-common/src/test/java/org/opensearch/dataprepper/plugins/otel/codec/OTLPJsonLogsDecoderTest.java index 2446ea9d90..ba87509a5d 100644 --- a/data-prepper-plugins/otel-proto-common/src/test/java/org/opensearch/dataprepper/plugins/otel/codec/OTLPJsonLogsDecoderTest.java +++ b/data-prepper-plugins/otel-proto-common/src/test/java/org/opensearch/dataprepper/plugins/otel/codec/OTLPJsonLogsDecoderTest.java @@ -39,7 +39,7 @@ private void validateLog(OpenTelemetryLog logRecord) { @Test public void testParse() throws Exception { - InputStream inputStream = OTLPJsonLogsCodecTest.class.getClassLoader().getResourceAsStream(TEST_REQUEST_LOGS_FILE); + InputStream inputStream = OTLPJsonLogsDecoderTest.class.getClassLoader().getResourceAsStream(TEST_REQUEST_LOGS_FILE); createObjectUnderTest().parse(inputStream, Instant.now(), (record) -> { validateLog((OpenTelemetryLog)record.getData()); });