Skip to content

Commit da7187d

Browse files
committed
Increase write enqueuing for persistence test
1 parent 3bcbf53 commit da7187d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/com/rabbitmq/client/test/server/PersistenceGuarantees.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ protected NioParams nioParams() {
3434
NioParams nioParams = super.nioParams();
3535
// may need a higher enqueuing timeout on slow environments
3636
return nioParams
37-
.setWriteEnqueuingTimeoutInMs(nioParams.getWriteEnqueuingTimeoutInMs() * 2);
37+
.setWriteEnqueuingTimeoutInMs(nioParams.getWriteEnqueuingTimeoutInMs() * 3)
38+
.setWriteQueueCapacity(nioParams.getWriteQueueCapacity() * 2);
3839
}
3940

4041
protected void declareQueue() throws IOException {

0 commit comments

Comments
 (0)