refactoring

pull/5682/head
Nikita Koksharov 11 months ago
parent c06f7ce2a4
commit 9c3b82966a

@ -39,7 +39,7 @@ public abstract class BaseConcurrentTest extends RedisDockerTest {
}
executor.shutdown();
Assertions.assertTrue(executor.awaitTermination(RedissonRuntimeEnvironment.isTravis ? 10 : 3, TimeUnit.MINUTES));
Assertions.assertTrue(executor.awaitTermination(3, TimeUnit.MINUTES));
System.out.println("multi: " + (System.currentTimeMillis() - watch));
@ -73,7 +73,7 @@ public abstract class BaseConcurrentTest extends RedisDockerTest {
}
pool.shutdown();
Assertions.assertTrue(pool.awaitTermination(RedissonRuntimeEnvironment.isTravis ? 20 : 3, TimeUnit.MINUTES));
Assertions.assertTrue(pool.awaitTermination(3, TimeUnit.MINUTES));
System.out.println(System.currentTimeMillis() - watch);

@ -7,6 +7,7 @@ import java.util.regex.Pattern;
*
* @author Rui Gu (https://github.com/jackygurui)
*/
@Deprecated
public class RedisVersion implements Comparable<RedisVersion>{
private final String fullVersion;

@ -6,6 +6,7 @@ import java.util.Locale;
*
* @author Rui Gu (https://github.com/jackygurui)
*/
@Deprecated
public class RedissonRuntimeEnvironment {
public static final boolean isTravis = "true".equalsIgnoreCase(System.getProperty("travisEnv"));

Loading…
Cancel
Save