From 9c8909886ad19199f434bfa4d5c98e4ea930fe35 Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Fri, 8 Oct 2021 15:09:32 +1100 Subject: [PATCH] Fix intermittent failure --- .../orm/transaction/AbstractTransactionLifecycleTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/hibernate-orm/deployment/src/test/java/io/quarkus/hibernate/orm/transaction/AbstractTransactionLifecycleTest.java b/extensions/hibernate-orm/deployment/src/test/java/io/quarkus/hibernate/orm/transaction/AbstractTransactionLifecycleTest.java index 32410debbdcea..9d4ee57f1a389 100644 --- a/extensions/hibernate-orm/deployment/src/test/java/io/quarkus/hibernate/orm/transaction/AbstractTransactionLifecycleTest.java +++ b/extensions/hibernate-orm/deployment/src/test/java/io/quarkus/hibernate/orm/transaction/AbstractTransactionLifecycleTest.java @@ -48,6 +48,7 @@ public abstract class AbstractTransactionLifecycleTest { // Expect no warnings (in particular from Agroal) .setLogRecordPredicate(record -> record.getLevel().intValue() >= Level.WARNING.intValue() // Ignore these particular warnings: they are not relevant to this test. + && !record.getMessage().contains("has been blocked for") //sometimes CI has a super slow moment and this triggers the blocked thread detector && !record.getMessage().contains("Using Java versions older than 11 to build Quarkus applications") && !record.getMessage().contains("Agroal does not support detecting if a connection is still usable") && !record.getMessage().contains("Netty DefaultChannelId initialization"))