From 2cc9686c84074f586f93f8517969a5ce756e5098 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Thu, 27 Mar 2025 13:27:10 -0400 Subject: [PATCH] Increase "long process" delay in the LockRequestHandlerAdviceTests --- .../handler/advice/LockRequestHandlerAdviceTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-integration-core/src/test/java/org/springframework/integration/handler/advice/LockRequestHandlerAdviceTests.java b/spring-integration-core/src/test/java/org/springframework/integration/handler/advice/LockRequestHandlerAdviceTests.java index 7350631581..6b881d1cb9 100644 --- a/spring-integration-core/src/test/java/org/springframework/integration/handler/advice/LockRequestHandlerAdviceTests.java +++ b/spring-integration-core/src/test/java/org/springframework/integration/handler/advice/LockRequestHandlerAdviceTests.java @@ -125,7 +125,7 @@ public class LockRequestHandlerAdviceTests { @ServiceActivator(inputChannel = "inputChannel", adviceChain = "lockRequestHandlerAdvice") String handleWithDelay(String payload) throws InterruptedException { int currentCount = this.counter.incrementAndGet(); - Thread.sleep("longer_process".equals(payload) ? 2000 : 500); + Thread.sleep("longer_process".equals(payload) ? 5000 : 500); try { return payload + "-" + currentCount; }