INT-2721 Increase Timers on JDBC Delayer Tests
Still fail when the build server is under heavy load.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<delayer id="#{T (org.springframework.integration.jdbc.DelayerHandlerRescheduleIntegrationTests).DELAYER_ID}"
|
||||
input-channel="input"
|
||||
output-channel="output"
|
||||
default-delay="200"
|
||||
default-delay="500"
|
||||
message-store="messageStore"/>
|
||||
|
||||
<channel id="transactionalDelayerOutput"/>
|
||||
|
||||
@@ -25,6 +25,7 @@ import java.util.concurrent.TimeUnit;
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.springframework.context.support.AbstractApplicationContext;
|
||||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
import org.springframework.integration.Message;
|
||||
@@ -133,7 +134,7 @@ public class DelayerHandlerRescheduleIntegrationTests {
|
||||
|
||||
input.send(MessageBuilder.withPayload("test").build());
|
||||
|
||||
Thread.sleep(100);
|
||||
Thread.sleep(1000);
|
||||
|
||||
assertEquals(1, messageStore.messageGroupSize(delayerMessageGroupId));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user