Skip to content

Commit d4dc88d

Browse files
committed
Use 30-second enqueuing timeout in test suite
Tests publishing several 1000s of messages fail on CI, we'll see if increasing the timeout will help.
1 parent aed8d84 commit d4dc88d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/rabbitmq/client/test/TestUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public static void setIoLayer(ConnectionFactory cf, String layer) {
103103
if (isNio(layer)) {
104104
cf.useNio();
105105
} else if (isNetty(layer)) {
106-
cf.netty();
106+
cf.netty().enqueuingTimeout(Duration.ofSeconds(30));
107107
} else if (isSocket(layer)) {
108108
cf.useBlockingIo();
109109
} else {

0 commit comments

Comments
 (0)