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**
This commit is contained in:
Artem Bilan
2017-08-07 12:21:20 -04:00
parent 08a2cd2cc9
commit 5dfe57d07c

View File

@@ -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();