@@ -97,13 +97,10 @@ public class LettuceClusterConnectionTests implements ClusterConnectionTests {
9797 private static final GeoLocation <String > PALERMO = new GeoLocation <>("palermo" , POINT_PALERMO );
9898
9999 private static final GeoLocation <byte []> ARIGENTO_BYTES = new GeoLocation <>(
100- "arigento" .getBytes (StandardCharsets .UTF_8 ),
101- POINT_ARIGENTO );
102- private static final GeoLocation <byte []> CATANIA_BYTES = new GeoLocation <>(
103- "catania" .getBytes (StandardCharsets .UTF_8 ),
100+ "arigento" .getBytes (StandardCharsets .UTF_8 ), POINT_ARIGENTO );
101+ private static final GeoLocation <byte []> CATANIA_BYTES = new GeoLocation <>("catania" .getBytes (StandardCharsets .UTF_8 ),
104102 POINT_CATANIA );
105- private static final GeoLocation <byte []> PALERMO_BYTES = new GeoLocation <>(
106- "palermo" .getBytes (StandardCharsets .UTF_8 ),
103+ private static final GeoLocation <byte []> PALERMO_BYTES = new GeoLocation <>("palermo" .getBytes (StandardCharsets .UTF_8 ),
107104 POINT_PALERMO );
108105
109106 private final RedisClusterClient client ;
@@ -183,7 +180,6 @@ void shouldCreateClusterConnectionWithPooling() {
183180 factory .destroy ();
184181 }
185182
186-
187183 @ Test // DATAREDIS-315
188184 public void appendShouldAddValueCorrectly () {
189185
@@ -2320,6 +2316,8 @@ public void zPopMinShouldWorkCorrectly() {
23202316 @ EnabledOnCommand ("BZPOPMIN" )
23212317 public void bzPopMinShouldWorkCorrectly () {
23222318
2319+ assertThat (clusterConnection .bZPopMin (KEY_1_BYTES , 10 , TimeUnit .MILLISECONDS )).isNull ();
2320+
23232321 nativeConnection .zadd (KEY_1 , 10D , VALUE_1 );
23242322 nativeConnection .zadd (KEY_1 , 20D , VALUE_2 );
23252323 nativeConnection .zadd (KEY_1 , 30D , VALUE_3 );
@@ -2332,6 +2330,8 @@ public void bzPopMinShouldWorkCorrectly() {
23322330 @ EnabledOnCommand ("ZPOPMAX" )
23332331 public void zPopMaxShouldWorkCorrectly () {
23342332
2333+ assertThat (clusterConnection .bZPopMax (KEY_1_BYTES , 10 , TimeUnit .MILLISECONDS )).isNull ();
2334+
23352335 nativeConnection .zadd (KEY_1 , 10D , VALUE_1 );
23362336 nativeConnection .zadd (KEY_1 , 20D , VALUE_2 );
23372337 nativeConnection .zadd (KEY_1 , 30D , VALUE_3 );
@@ -2504,8 +2504,8 @@ public void zRangeWithScoresShouldReturnValuesAndScoreCorrectly() {
25042504 nativeConnection .zadd (KEY_1 , 20D , VALUE_2 );
25052505 nativeConnection .zadd (KEY_1 , 5D , VALUE_3 );
25062506
2507- assertThat (clusterConnection .zRangeWithScores (KEY_1_BYTES , 1 , 2 ))
2508- . contains ( new DefaultTuple ( VALUE_1_BYTES , 10D ), new DefaultTuple (VALUE_2_BYTES , 20D ));
2507+ assertThat (clusterConnection .zRangeWithScores (KEY_1_BYTES , 1 , 2 )). contains ( new DefaultTuple ( VALUE_1_BYTES , 10D ),
2508+ new DefaultTuple (VALUE_2_BYTES , 20D ));
25092509 }
25102510
25112511 @ Test // DATAREDIS-315
@@ -2622,8 +2622,8 @@ public void zRevRangeWithScoresShouldReturnValuesAndScoreCorrectly() {
26222622 nativeConnection .zadd (KEY_1 , 20D , VALUE_2 );
26232623 nativeConnection .zadd (KEY_1 , 5D , VALUE_3 );
26242624
2625- assertThat (clusterConnection .zRevRangeWithScores (KEY_1_BYTES , 1 , 2 ))
2626- . contains ( new DefaultTuple ( VALUE_3_BYTES , 5D ), new DefaultTuple (VALUE_1_BYTES , 10D ));
2625+ assertThat (clusterConnection .zRevRangeWithScores (KEY_1_BYTES , 1 , 2 )). contains ( new DefaultTuple ( VALUE_3_BYTES , 5D ),
2626+ new DefaultTuple (VALUE_1_BYTES , 10D ));
26272627 }
26282628
26292629 @ Test
0 commit comments