Skip to content

Commit adbf1ed

Browse files
authored
Merge pull request #51161 from mkouba/issue-51117
QuarkusComponentTest: make sure logging is always initialized
2 parents dfe3270 + a88d0ad commit adbf1ed

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

test-framework/junit5-component/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@
5454
<groupId>io.quarkus</groupId>
5555
<artifactId>quarkus-test-common</artifactId>
5656
</dependency>
57+
<dependency>
58+
<groupId>io.quarkus</groupId>
59+
<artifactId>quarkus-junit5-config</artifactId>
60+
</dependency>
5761
<dependency>
5862
<groupId>io.smallrye.common</groupId>
5963
<artifactId>smallrye-common-annotation</artifactId>

test-framework/junit5-component/src/main/java/io/quarkus/test/component/QuarkusComponentTestClassLoader.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ private static boolean mustDelegateToParent(String name) {
114114
|| name.startsWith("org.xml.")
115115
|| name.startsWith("org.junit.")
116116
|| name.startsWith("org.mockito.")
117+
|| name.startsWith("org.jboss.logging")
118+
|| name.startsWith("org.jboss.logmanager")
119+
|| name.startsWith("org.slf4j")
117120
|| PARENT_CL_CLASSES.contains(name);
118121
}
119122

0 commit comments

Comments
 (0)