File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
src/test/java/io/lettuce/core/reliability Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ public void encode(ByteBuf buf) {
174174
175175 assertThat (verificationConnection .get (key )).isEqualTo ("2" );
176176
177- assertThat (ConnectionTestUtil . getStack ( connection .getStatefulConnection ())). isNotEmpty ( );
177+ assertThat (connection .get ( key )). isEqualTo ( "2" );
178178
179179 connection .getStatefulConnection ().close ();
180180 }
Original file line number Diff line number Diff line change @@ -172,16 +172,8 @@ public void encode(ByteBuf buf) {
172172 assertThat (command .isCancelled ()).isFalse ();
173173 assertThat (getException (command )).isInstanceOf (EncoderException .class );
174174
175- Wait .untilTrue (() -> !ConnectionTestUtil .getStack (connection ).isEmpty ()).waitOrTimeout ();
176-
177- assertThat (ConnectionTestUtil .getStack (connection )).isNotEmpty ();
178- ConnectionTestUtil .getStack (connection ).clear ();
179-
180175 assertThat (sync .get (key )).isEqualTo ("2" );
181176
182- assertThat (ConnectionTestUtil .getStack (connection )).isEmpty ();
183- assertThat (ConnectionTestUtil .getCommandBuffer (connection )).isEmpty ();
184-
185177 connection .close ();
186178 }
187179
You can’t perform that action at this time.
0 commit comments