diff --git a/testsuite/src/it/java/io/quarkus/ts/startstop/utils/Commons.java b/testsuite/src/it/java/io/quarkus/ts/startstop/utils/Commons.java index 2b384f1c..5ea3148f 100644 --- a/testsuite/src/it/java/io/quarkus/ts/startstop/utils/Commons.java +++ b/testsuite/src/it/java/io/quarkus/ts/startstop/utils/Commons.java @@ -3,6 +3,7 @@ import java.util.regex.Pattern; public class Commons { - static Pattern NETTY_HANDLERS=Pattern.compile(".*Could not register io.netty.handler.codec.*"); //https://github.com/quarkusio/quarkus/issues/30508 - static Pattern NO_IMAGE = Pattern.compile(".*Tag 22.3-java17 was deleted or has expired.*"); //https://github.com/quarkusio/quarkus/issues/30738 + static final Pattern CLOSED_STREAM = Pattern.compile(".*Stream is closed, ignoring and trying to continue.*"); // https://github.com/quarkusio/quarkus/pull/28810 + static final Pattern STREAM_ERROR = Pattern.compile(".*java.lang.RuntimeException: Error reading stream.*"); // https://github.com/quarkusio/quarkus/issues/28799 (should be removed once 2.14.0.Final is out) + static Pattern NETTY_HANDLERS = Pattern.compile(".*Could not register io.netty.handler.codec.*"); //https://github.com/quarkusio/quarkus/issues/30508 } diff --git a/testsuite/src/it/java/io/quarkus/ts/startstop/utils/WhitelistLogLines.java b/testsuite/src/it/java/io/quarkus/ts/startstop/utils/WhitelistLogLines.java index 4a3f0221..9e653b29 100755 --- a/testsuite/src/it/java/io/quarkus/ts/startstop/utils/WhitelistLogLines.java +++ b/testsuite/src/it/java/io/quarkus/ts/startstop/utils/WhitelistLogLines.java @@ -13,11 +13,9 @@ public enum WhitelistLogLines { // https://github.com/quarkusio/quarkus/issues/27307 Pattern.compile(".*Unknown module: org.graalvm.nativeimage.llvm specified to --add-exports.*"), // https://github.com/quarkusio/quarkus/issues/28799 (should be removed once 2.14.0.Final is out) - Pattern.compile(".*java.lang.RuntimeException: Error reading stream.*"), - // https://github.com/quarkusio/quarkus/pull/28810 - Pattern.compile(".*Stream is closed, ignoring and trying to continue.*"), + Commons.STREAM_ERROR, + Commons.CLOSED_STREAM, Commons.NETTY_HANDLERS, - Commons.NO_IMAGE, }), FULL_MICROPROFILE(new Pattern[]{ // Some artifacts names... @@ -27,12 +25,9 @@ public enum WhitelistLogLines { Pattern.compile(".*Closing a class org.jboss.resteasy.client.jaxrs.engines.ApacheHttpClient.*"), // https://github.com/quarkusio/quarkus/issues/27307 Pattern.compile(".*Unknown module: org.graalvm.nativeimage.llvm specified to --add-exports.*"), - // https://github.com/quarkusio/quarkus/issues/28799 (should be removed once 2.14.0.Final is out) - Pattern.compile(".*java.lang.RuntimeException: Error reading stream.*"), - // https://github.com/quarkusio/quarkus/pull/28810 - Pattern.compile(".*Stream is closed, ignoring and trying to continue.*"), + Commons.STREAM_ERROR, + Commons.CLOSED_STREAM, Commons.NETTY_HANDLERS, - Commons.NO_IMAGE, }), GENERATED_SKELETON(new Pattern[]{ // Harmless warning @@ -82,11 +77,9 @@ public enum WhitelistLogLines { // https://github.com/quarkusio/quarkus/issues/27307 Pattern.compile(".*Unknown module: org.graalvm.nativeimage.llvm specified to --add-exports.*"), // https://github.com/quarkusio/quarkus/issues/28799 (should be removed once 2.14.0.Final is out) - Pattern.compile(".*java.lang.RuntimeException: Error reading stream.*"), - // https://github.com/quarkusio/quarkus/pull/28810 - Pattern.compile(".*Stream is closed, ignoring and trying to continue.*"), + Commons.STREAM_ERROR, + Commons.CLOSED_STREAM, Commons.NETTY_HANDLERS, - Commons.NO_IMAGE, }), // Quarkus is not being gratefully shutdown in Windows when running in Dev mode. // Reported by https://github.com/quarkusio/quarkus/issues/14647.