File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/test/java/redis/clients/jedis Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments