From 5dfe57d07cca36edf823e2be34af5c1379c4d276 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 b54b88b50b..6df04f757e 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 @@ -19,6 +19,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.junit.Rule; @@ -46,7 +47,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();