Exemplo n.º 1
0
 @After
 public void after() throws InterruptedException {
   if (RedissonRuntimeEnvironment.isTravis) {
     RedisRunner.shutDownDefaultRedisServerInstance();
   }
 }
Exemplo n.º 2
0
 @Before
 public void before() throws IOException, InterruptedException {
   if (RedissonRuntimeEnvironment.isTravis) {
     RedisRunner.startDefaultRedisServerInstance();
   }
 }