Skip to content

Commit f68a148

Browse files
committed
Update test infra to use latest Redis
1 parent a4b2053 commit f68a148

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/java/redis/clients/jedis/ACLJedisPoolTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public void testCloseConnectionOnMakeObject() {
276276
int currentClientCount = getClientCount(jedis.clientList());
277277
assertThrows(JedisAccessControlException.class, pool::getResource);
278278
// wait for the redis server to close the connection
279-
await().pollDelay(Duration.ofMillis(10)).atMost(50, MILLISECONDS)
279+
await().pollDelay(Duration.ofMillis(10)).atMost(500, MILLISECONDS)
280280
.until(() -> getClientCount(jedis.clientList()) == currentClientCount);
281281
assertEquals(currentClientCount, getClientCount(jedis.clientList()));
282282
}

src/test/java/redis/clients/jedis/JedisPoolTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ public void testCloseConnectionOnMakeObject() {
397397
int currentClientCount = getClientCount(jedis.clientList());
398398
assertThrows(JedisAccessControlException.class, pool::getResource);
399399
// wait for the redis server to close the connection
400-
await().pollDelay(Duration.ofMillis(10)).atMost(50, MILLISECONDS)
400+
await().pollDelay(Duration.ofMillis(10)).atMost(500, MILLISECONDS)
401401
.until(() -> getClientCount(jedis.clientList()) == currentClientCount);
402402
assertEquals(currentClientCount, getClientCount(jedis.clientList()));
403403
}

0 commit comments

Comments
 (0)