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 90bb6f0c96
commit 45a5cf48a9

View File

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