@@ -91,13 +91,10 @@ public class LettuceClusterConnectionTests implements ClusterConnectionTests {
9191 private static final GeoLocation <String > PALERMO = new GeoLocation <>("palermo" , POINT_PALERMO );
9292
9393 private static final GeoLocation <byte []> ARIGENTO_BYTES = new GeoLocation <>(
94- "arigento" .getBytes (StandardCharsets .UTF_8 ),
95- POINT_ARIGENTO );
96- private static final GeoLocation <byte []> CATANIA_BYTES = new GeoLocation <>(
97- "catania" .getBytes (StandardCharsets .UTF_8 ),
94+ "arigento" .getBytes (StandardCharsets .UTF_8 ), POINT_ARIGENTO );
95+ private static final GeoLocation <byte []> CATANIA_BYTES = new GeoLocation <>("catania" .getBytes (StandardCharsets .UTF_8 ),
9896 POINT_CATANIA );
99- private static final GeoLocation <byte []> PALERMO_BYTES = new GeoLocation <>(
100- "palermo" .getBytes (StandardCharsets .UTF_8 ),
97+ private static final GeoLocation <byte []> PALERMO_BYTES = new GeoLocation <>("palermo" .getBytes (StandardCharsets .UTF_8 ),
10198 POINT_PALERMO );
10299
103100 private final RedisClusterClient client ;
@@ -177,7 +174,6 @@ void shouldCreateClusterConnectionWithPooling() {
177174 factory .destroy ();
178175 }
179176
180-
181177 @ Test // DATAREDIS-315
182178 public void appendShouldAddValueCorrectly () {
183179
@@ -2193,6 +2189,8 @@ public void zPopMinShouldWorkCorrectly() {
21932189 @ EnabledOnCommand ("BZPOPMIN" )
21942190 public void bzPopMinShouldWorkCorrectly () {
21952191
2192+ assertThat (clusterConnection .bZPopMin (KEY_1_BYTES , 10 , TimeUnit .MILLISECONDS )).isNull ();
2193+
21962194 nativeConnection .zadd (KEY_1 , 10D , VALUE_1 );
21972195 nativeConnection .zadd (KEY_1 , 20D , VALUE_2 );
21982196 nativeConnection .zadd (KEY_1 , 30D , VALUE_3 );
@@ -2205,6 +2203,8 @@ public void bzPopMinShouldWorkCorrectly() {
22052203 @ EnabledOnCommand ("ZPOPMAX" )
22062204 public void zPopMaxShouldWorkCorrectly () {
22072205
2206+ assertThat (clusterConnection .bZPopMax (KEY_1_BYTES , 10 , TimeUnit .MILLISECONDS )).isNull ();
2207+
22082208 nativeConnection .zadd (KEY_1 , 10D , VALUE_1 );
22092209 nativeConnection .zadd (KEY_1 , 20D , VALUE_2 );
22102210 nativeConnection .zadd (KEY_1 , 30D , VALUE_3 );
@@ -2376,8 +2376,8 @@ public void zRangeWithScoresShouldReturnValuesAndScoreCorrectly() {
23762376 nativeConnection .zadd (KEY_1 , 20D , VALUE_2 );
23772377 nativeConnection .zadd (KEY_1 , 5D , VALUE_3 );
23782378
2379- assertThat (clusterConnection .zRangeWithScores (KEY_1_BYTES , 1 , 2 ))
2380- . contains ( new DefaultTuple ( VALUE_1_BYTES , 10D ), new DefaultTuple (VALUE_2_BYTES , 20D ));
2379+ assertThat (clusterConnection .zRangeWithScores (KEY_1_BYTES , 1 , 2 )). contains ( new DefaultTuple ( VALUE_1_BYTES , 10D ),
2380+ new DefaultTuple (VALUE_2_BYTES , 20D ));
23812381 }
23822382
23832383 @ Test // DATAREDIS-315
@@ -2494,8 +2494,8 @@ public void zRevRangeWithScoresShouldReturnValuesAndScoreCorrectly() {
24942494 nativeConnection .zadd (KEY_1 , 20D , VALUE_2 );
24952495 nativeConnection .zadd (KEY_1 , 5D , VALUE_3 );
24962496
2497- assertThat (clusterConnection .zRevRangeWithScores (KEY_1_BYTES , 1 , 2 ))
2498- . contains ( new DefaultTuple ( VALUE_3_BYTES , 5D ), new DefaultTuple (VALUE_1_BYTES , 10D ));
2497+ assertThat (clusterConnection .zRevRangeWithScores (KEY_1_BYTES , 1 , 2 )). contains ( new DefaultTuple ( VALUE_3_BYTES , 5D ),
2498+ new DefaultTuple (VALUE_1_BYTES , 10D ));
24992499 }
25002500
25012501 @ Test
0 commit comments