Skip to content

Commit

Permalink
Update redis version to 5.1.3 (testcontainers#9250)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddumelendez authored and fokion committed Jan 18, 2025
1 parent 41b90a8 commit a8f5079
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/toxiproxy/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ dependencies {
api project(':testcontainers')
api 'eu.rekawek.toxiproxy:toxiproxy-java:2.1.7'

testImplementation 'redis.clients:jedis:3.0.1'
testImplementation 'redis.clients:jedis:5.1.3'
testImplementation 'org.assertj:assertj-core:3.26.3'
}
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ public void testConnectionCut() throws IOException {
proxy.toxics().get("CUT_CONNECTION_DOWNSTREAM").remove();
proxy.toxics().get("CUT_CONNECTION_UPSTREAM").remove();

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

0 comments on commit a8f5079

Please sign in to comment.