From 45a5cf48a984feaa797cb81de2076c4dd1aa2898 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Mon, 7 Aug 2017 12:21:20 -0400 Subject: [PATCH] Redis DelayerHRescheduleIntTests: unique groupId https://build.spring.io/browse/INT-AT42SIO-595/ To avoid clashes with other parallel builds on CI for different versions on the same shared Redis make a testing `groupId` as unique using `UUID.randomUUID()` **Cherry-pick to 4.3.x & 4.2.x** --- .../redis/store/DelayerHandlerRescheduleIntegrationTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-integration-redis/src/test/java/org/springframework/integration/redis/store/DelayerHandlerRescheduleIntegrationTests.java b/spring-integration-redis/src/test/java/org/springframework/integration/redis/store/DelayerHandlerRescheduleIntegrationTests.java index dfc12d53a9..3350509a1b 100644 --- a/spring-integration-redis/src/test/java/org/springframework/integration/redis/store/DelayerHandlerRescheduleIntegrationTests.java +++ b/spring-integration-redis/src/test/java/org/springframework/integration/redis/store/DelayerHandlerRescheduleIntegrationTests.java @@ -22,6 +22,7 @@ import static org.junit.Assert.assertNotSame; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; +import java.util.UUID; import java.util.concurrent.TimeUnit; import org.apache.log4j.Level; @@ -51,7 +52,7 @@ import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler; */ public class DelayerHandlerRescheduleIntegrationTests extends RedisAvailableTests { - public static final String DELAYER_ID = "delayerWithRedisMS"; + public static final String DELAYER_ID = "delayerWithRedisMS" + UUID.randomUUID(); @Rule public LongRunningIntegrationTest longTests = new LongRunningIntegrationTest();