Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@
# built documents.
#
# The short X.Y version.
version = "4.2"
version = "4.2.1"
# The full version, including alpha/beta/rc tags.
release = "4.2"
release = "4.2.1"

autodoc_member_order = "bysource"
autoclass_content = "both"
Expand Down
2 changes: 1 addition & 1 deletion hazelcast/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "4.2"
__version__ = "4.2.1"

# Set the default handler to "hazelcast" loggers
# to avoid "No handlers could be found" warnings.
Expand Down
5 changes: 5 additions & 0 deletions tests/integration/backward_compatible/proxy/map_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
fill_map,
is_server_version_older_than,
get_current_timestamp,
mark_client_version_at_least,
)
from hazelcast import six
from hazelcast.six.moves import range
Expand Down Expand Up @@ -403,6 +404,10 @@ def test_put_get(self):
self.assertEqual(self.map.get("key"), "value")

def test_put_get_large_payload(self):
# The fix for reading large payloads is introduced in 4.2.1
# See https://github.com/hazelcast/hazelcast-python-client/pull/436
mark_client_version_at_least(self, "4.2.1")

payload = bytearray(os.urandom(16 * 1024 * 1024))
start = get_current_timestamp()
self.assertIsNone(self.map.put("key", payload))
Expand Down