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 14e556ce23
commit c129a02e6c
2 changed files with 4 additions and 3 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

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2012 the original author or authors.
* Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
@@ -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));