Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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