Skip to content

Commit

Permalink
Update class loader (opensearch-project#5028)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Li <[email protected]>
  • Loading branch information
danhli committed Oct 8, 2024
1 parent a67c31a commit e3c5b91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
});
Expand Down

0 comments on commit e3c5b91

Please sign in to comment.