Increase timeout in the MethodInvokingMessageHandlerTests
(cherry picked from commit 01c04fb87c)
This commit is contained in:
committed by
Spring Builds
parent
ca1f66eaf1
commit
6ea04997ee
@@ -93,7 +93,7 @@ public class MethodInvokingMessageHandlerTests {
|
|||||||
endpoint.setTrigger(new PeriodicTrigger(Duration.ofMillis(10)));
|
endpoint.setTrigger(new PeriodicTrigger(Duration.ofMillis(10)));
|
||||||
context.registerEndpoint("testEndpoint", endpoint);
|
context.registerEndpoint("testEndpoint", endpoint);
|
||||||
context.refresh();
|
context.refresh();
|
||||||
String result = queue.poll(2000, TimeUnit.MILLISECONDS);
|
String result = queue.poll(10000, TimeUnit.MILLISECONDS);
|
||||||
assertThat(result).isNotNull();
|
assertThat(result).isNotNull();
|
||||||
assertThat(result).isEqualTo("testing");
|
assertThat(result).isEqualTo("testing");
|
||||||
context.close();
|
context.close();
|
||||||
|
|||||||
Reference in New Issue
Block a user