Skip to content

Commit 784269c

Browse files
artembilanspring-builds
authored andcommitted
Increase timeout in the MethodInvokingMessageHandlerTests
(cherry picked from commit 01c04fb)
1 parent 288e0e8 commit 784269c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-integration-core/src/test/java/org/springframework/integration/message/MethodInvokingMessageHandlerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public void subscription() throws Exception {
9393
endpoint.setTrigger(new PeriodicTrigger(Duration.ofMillis(10)));
9494
context.registerEndpoint("testEndpoint", endpoint);
9595
context.refresh();
96-
String result = queue.poll(2000, TimeUnit.MILLISECONDS);
96+
String result = queue.poll(10000, TimeUnit.MILLISECONDS);
9797
assertThat(result).isNotNull();
9898
assertThat(result).isEqualTo("testing");
9999
context.close();

0 commit comments

Comments
 (0)