INT-2721 Increase Timers on JDBC Delayer Tests

Still fail when the build server is under heavy load.
This commit is contained in:
Gary Russell
2013-06-11 17:48:07 +01:00
parent 8e42f881bb
commit 388076668a
2 changed files with 3 additions and 2 deletions

View File

@@ -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"/>

View File

@@ -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));