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
2 changes: 1 addition & 1 deletion docs/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Requirements
- Windows, Linux/UNIX or Mac OS X
- Python 3.11 or newer
- Hazelcast 5.0 or newer
- `Supported Java virtual machine <https://docs.hazelcast.com/hazelcast/latest/deploy/versioning-compatibility#supported-java-virtual-machines>`__
- `Supported Java Development Kit (JDK) <https://docs.hazelcast.com/hazelcast/latest/deploy/versioning-compatibility#java-development-kits-jdks>`__
- Latest Hazelcast Python client

Working with Hazelcast Clusters
Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started_asyncio.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Requirements
- Windows, Linux, macOS
- Python 3.11 or newer
- Hazelcast 5.6 or newer
- `Supported Java virtual machine <https://docs.hazelcast.com/hazelcast/latest/deploy/versioning-compatibility#supported-java-virtual-machines>`__
- `Supported Java Development Kit (JDK) <https://docs.hazelcast.com/hazelcast/latest/deploy/versioning-compatibility#java-development-kits-jdks>`__
- Latest Hazelcast Python client

Working with Hazelcast Clusters
Expand Down
5 changes: 5 additions & 0 deletions tests/integration/asyncio/proxy/vector_collection_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ async def test_backup_count_min_value_pass(self):

async def test_backup_count_more_than_max_value_fail(self):
skip_if_server_version_older_than(self, self.client, "5.6.0")
skip_if_client_version_older_than(self, "5.6.0")
name = random_string()
# check that the parameter is used by ensuring that it is validated on server side
# there is no simple way to check number of backups
Expand All @@ -216,6 +217,7 @@ async def test_backup_count_more_than_max_value_fail(self):

async def test_backup_count_less_than_min_value_fail(self):
skip_if_server_version_older_than(self, self.client, "5.6.0")
skip_if_client_version_older_than(self, "5.6.0")
name = random_string()
with self.assertRaises(hazelcast.errors.IllegalArgumentError):
await self.client.create_vector_collection_config(
Expand Down Expand Up @@ -243,6 +245,7 @@ async def test_async_backup_count_min_value_pass(self):

async def test_async_backup_count_more_than_max_value_fail(self):
skip_if_server_version_older_than(self, self.client, "5.6.0")
skip_if_client_version_older_than(self, "5.6.0")
name = random_string()
# check that the parameter is used by ensuring that it is validated on server side
# there is no simple way to check number of backups
Expand All @@ -256,6 +259,7 @@ async def test_async_backup_count_more_than_max_value_fail(self):

async def test_async_backup_count_less_than_min_value_fail(self):
skip_if_server_version_older_than(self, self.client, "5.6.0")
skip_if_client_version_older_than(self, "5.6.0")
name = random_string()
with self.assertRaises(hazelcast.errors.IllegalArgumentError):
await self.client.create_vector_collection_config(
Expand All @@ -266,6 +270,7 @@ async def test_async_backup_count_less_than_min_value_fail(self):

async def test_sync_and_async_backup_count_more_than_max_value_fail(self):
skip_if_server_version_older_than(self, self.client, "5.6.0")
skip_if_client_version_older_than(self, "5.6.0")
name = random_string()
with self.assertRaises(hazelcast.errors.IllegalArgumentError):
await self.client.create_vector_collection_config(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def test_backup_count_min_value_pass(self):

def test_backup_count_more_than_max_value_fail(self):
skip_if_server_version_older_than(self, self.client, "5.6.0")
skip_if_client_version_older_than(self, "5.6.0")
name = random_string()
# check that the parameter is used by ensuring that it is validated on server side
# there is no simple way to check number of backups
Expand All @@ -213,6 +214,7 @@ def test_backup_count_more_than_max_value_fail(self):

def test_backup_count_less_than_min_value_fail(self):
skip_if_server_version_older_than(self, self.client, "5.6.0")
skip_if_client_version_older_than(self, "5.6.0")
name = random_string()
with self.assertRaises(hazelcast.errors.IllegalArgumentError):
self.client.create_vector_collection_config(
Expand Down Expand Up @@ -240,6 +242,7 @@ def test_async_backup_count_min_value_pass(self):

def test_async_backup_count_more_than_max_value_fail(self):
skip_if_server_version_older_than(self, self.client, "5.6.0")
skip_if_client_version_older_than(self, "5.6.0")
name = random_string()
# check that the parameter is used by ensuring that it is validated on server side
# there is no simple way to check number of backups
Expand All @@ -253,6 +256,7 @@ def test_async_backup_count_more_than_max_value_fail(self):

def test_async_backup_count_less_than_min_value_fail(self):
skip_if_server_version_older_than(self, self.client, "5.6.0")
skip_if_client_version_older_than(self, "5.6.0")
name = random_string()
with self.assertRaises(hazelcast.errors.IllegalArgumentError):
self.client.create_vector_collection_config(
Expand All @@ -263,6 +267,7 @@ def test_async_backup_count_less_than_min_value_fail(self):

def test_sync_and_async_backup_count_more_than_max_value_fail(self):
skip_if_server_version_older_than(self, self.client, "5.6.0")
skip_if_client_version_older_than(self, "5.6.0")
name = random_string()
with self.assertRaises(hazelcast.errors.IllegalArgumentError):
self.client.create_vector_collection_config(
Expand Down