tests fixed

pull/6402/merge
mrniko 4 days ago
parent 7a733b8c81
commit b96e623f95

@ -131,7 +131,7 @@ public class RedissonFailoverTest extends RedisDockerTest {
}; };
t.start(); t.start();
try { try {
t.join(1000); t.join(2000);
} catch (InterruptedException e) { } catch (InterruptedException e) {
throw new RuntimeException(e); throw new RuntimeException(e);
} }
@ -254,7 +254,7 @@ public class RedissonFailoverTest extends RedisDockerTest {
assertThat(futures.get(futures.size() - 1).isDone()).isTrue(); assertThat(futures.get(futures.size() - 1).isDone()).isTrue();
assertThat(futures.get(futures.size() - 1).toCompletableFuture().isCompletedExceptionally()).isFalse(); assertThat(futures.get(futures.size() - 1).toCompletableFuture().isCompletedExceptionally()).isFalse();
assertThat(errors).isBetween(30, 1900); assertThat(errors).isBetween(30, 2000);
assertThat(readonlyErrors).isZero(); assertThat(readonlyErrors).isZero();
redisson.shutdown(); redisson.shutdown();

Loading…
Cancel
Save