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