Skip to content

Commit 02754c8

Browse files
committed
Set RPC timeout to 10 seconds in tests
(cherry picked from commit 8373008)
1 parent 8a94ff7 commit 02754c8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public class TestUtils {
6262

6363
public static ConnectionFactory connectionFactory() {
6464
ConnectionFactory connectionFactory = new ConnectionFactory();
65+
connectionFactory.setChannelRpcTimeout((int) Duration.ofSeconds(10).toMillis());
6566
setIoLayer(connectionFactory);
6667
return connectionFactory;
6768
}

0 commit comments

Comments
 (0)