Skip to content

Commit d776810

Browse files
authored
[API-2187] Fixes API-2187 (#696)
Closes #666
1 parent 94dbc3c commit d776810

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

hazelcast/protocol/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def of(predicate, to_data):
130130
anchor_data_list.append((key, value))
131131

132132
anchor_data_list_holder = AnchorDataListHolder(page_list, anchor_data_list)
133-
predicate_data = to_data(predicate)
133+
predicate_data = to_data(predicate._internal_predicate)
134134
comparator_data = to_data(predicate.comparator)
135135
iteration_type = predicate.iteration_type
136136

start_rc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import sys
44
from os.path import isfile
55

6-
SERVER_VERSION = "5.5.0-SNAPSHOT"
6+
SERVER_VERSION = "5.5.0"
77
RC_VERSION = "0.8-SNAPSHOT"
88

99
RELEASE_REPO = "https://repo1.maven.apache.org/maven2"

tests/integration/backward_compatible/predicate_test.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
write_string_to_writer,
2929
read_string_from_reader,
3030
)
31-
from tests.util import random_string, get_abs_path, skip_if_server_version_newer_than_or_equal
31+
from tests.util import random_string, get_abs_path
3232
from hazelcast import HazelcastClient
3333

3434

@@ -171,8 +171,6 @@ def test_false(self):
171171
self.assertCountEqual(self.map.key_set(predicate), [])
172172

173173
def test_paging(self):
174-
# https://github.com/hazelcast/hazelcast-python-client/issues/666
175-
skip_if_server_version_newer_than_or_equal(self, self.client, "5.4")
176174
self.fill_map_numeric()
177175
predicate = paging(less("this", 4), 2)
178176
self.assertCountEqual([0, 1], self.map.key_set(predicate))
@@ -341,8 +339,6 @@ def setUpClass(cls):
341339
cls.map = cls.client.get_map(random_string()).blocking()
342340

343341
def setUp(self):
344-
# https://github.com/hazelcast/hazelcast-python-client/issues/666
345-
skip_if_server_version_newer_than_or_equal(self, self.client, "5.4")
346342
self.map.clear()
347343

348344
@classmethod

0 commit comments

Comments
 (0)