Skip to content

Commit 41bc294

Browse files
committed
convert tests
1 parent fa5c247 commit 41bc294

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

javaagent/src/test/java/io/opentelemetry/javaagent/AgentLoadedIntoBootstrapTest.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@ void applicationUberJarShouldNotBeAddedToTheBootstrapClassLoader() throws Except
5353

5454
assertThat(exitCode).isZero();
5555
} finally {
56-
boolean deleted = new File(pathToJar).delete();
57-
if (!deleted) {
58-
System.err.println("Failed to delete temporary jar file: " + pathToJar);
59-
}
56+
new File(pathToJar).delete();
6057
}
6158
}
6259
}

0 commit comments

Comments
 (0)