diff --git a/extensions/resteasy-classic/resteasy/deployment/src/test/java/io/quarkus/resteasy/test/config/ProviderConfigInjectionWarningsTest.java b/extensions/resteasy-classic/resteasy/deployment/src/test/java/io/quarkus/resteasy/test/config/ProviderConfigInjectionWarningsTest.java index 568b3f45729fd..86de3f8e1eaa1 100644 --- a/extensions/resteasy-classic/resteasy/deployment/src/test/java/io/quarkus/resteasy/test/config/ProviderConfigInjectionWarningsTest.java +++ b/extensions/resteasy-classic/resteasy/deployment/src/test/java/io/quarkus/resteasy/test/config/ProviderConfigInjectionWarningsTest.java @@ -37,11 +37,11 @@ public class ProviderConfigInjectionWarningsTest { static final QuarkusUnitTest TEST = new QuarkusUnitTest() .setLogRecordPredicate(record -> record.getLevel().intValue() >= Level.WARNING.intValue()) .assertLogRecords(logRecords -> { - Set messages = logRecords.stream().map(LogRecord::getMessage).collect(Collectors.toSet()); - - for (String message : messages) { - System.out.println("Message from ProviderConfigInjectionWarningsTest: " + message); - } + Set messages = logRecords.stream() + .map(LogRecord::getMessage) + // filter out noise coming from RESTEasy + .filter(m -> !m.contains("RESTEASY004687")) + .collect(Collectors.toSet()); assertEquals(4, logRecords.size()); assertTrue(messages.contains(