Skip to content

Commit d90623d

Browse files
authored
Update redis version to 5.1.3 (#9250)
1 parent 1231a12 commit d90623d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

modules/toxiproxy/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ dependencies {
44
api project(':testcontainers')
55
api 'eu.rekawek.toxiproxy:toxiproxy-java:2.1.7'
66

7-
testImplementation 'redis.clients:jedis:3.0.1'
7+
testImplementation 'redis.clients:jedis:5.1.3'
88
testImplementation 'org.assertj:assertj-core:3.26.3'
99
}

modules/toxiproxy/src/test/java/org/testcontainers/containers/ToxiproxyTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ public void testConnectionCut() throws IOException {
104104
proxy.toxics().get("CUT_CONNECTION_DOWNSTREAM").remove();
105105
proxy.toxics().get("CUT_CONNECTION_UPSTREAM").remove();
106106

107+
jedis.close();
107108
// and with the connection re-established, expect success
108109
assertThat(jedis.get("somekey"))
109110
.as("access to the container works OK after re-establishing the connection")

0 commit comments

Comments
 (0)