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"/>
|
||||
|
||||
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user