Skip to content

Commit 23843c7

Browse files
committed
Avoid Race in FtpStreamingMessageSourceTests
See #2776
1 parent 3657d05 commit 23843c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-integration-ftp/src/test/java/org/springframework/integration/ftp/inbound/FtpStreamingMessageSourceTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public QueueChannel data() {
174174
public PollerMetadata defaultPoller() {
175175
PollerMetadata pollerMetadata = new PollerMetadata();
176176
pollerMetadata.setTrigger(new PeriodicTrigger(500));
177-
pollerMetadata.setMaxMessagesPerPoll(2000);
177+
pollerMetadata.setMaxMessagesPerPoll(1);
178178
return pollerMetadata;
179179
}
180180

0 commit comments

Comments
 (0)