Skip to content

Commit 2cc9686

Browse files
committed
Increase "long process" delay in the LockRequestHandlerAdviceTests
1 parent 6a1511c commit 2cc9686

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-integration-core/src/test/java/org/springframework/integration/handler/advice/LockRequestHandlerAdviceTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ LockRequestHandlerAdvice lockRequestHandlerAdvice(LockRegistry lockRegistry, Que
125125
@ServiceActivator(inputChannel = "inputChannel", adviceChain = "lockRequestHandlerAdvice")
126126
String handleWithDelay(String payload) throws InterruptedException {
127127
int currentCount = this.counter.incrementAndGet();
128-
Thread.sleep("longer_process".equals(payload) ? 2000 : 500);
128+
Thread.sleep("longer_process".equals(payload) ? 5000 : 500);
129129
try {
130130
return payload + "-" + currentCount;
131131
}

0 commit comments

Comments
 (0)