From 3c3d06def66ac4e723b09cc65eda897c9fa84df3 Mon Sep 17 00:00:00 2001 From: Yuce Tekol Date: Thu, 12 Feb 2026 16:28:13 +0300 Subject: [PATCH 1/3] Skip VC tests in incompatible versions --- tests/integration/asyncio/proxy/vector_collection_test.py | 5 +++++ .../backward_compatible/proxy/vector_collection_test.py | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/tests/integration/asyncio/proxy/vector_collection_test.py b/tests/integration/asyncio/proxy/vector_collection_test.py index 8cc4090f0e..89613411e1 100644 --- a/tests/integration/asyncio/proxy/vector_collection_test.py +++ b/tests/integration/asyncio/proxy/vector_collection_test.py @@ -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 @@ -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( @@ -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 @@ -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( @@ -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( diff --git a/tests/integration/backward_compatible/proxy/vector_collection_test.py b/tests/integration/backward_compatible/proxy/vector_collection_test.py index ff82b512ad..58674b3583 100644 --- a/tests/integration/backward_compatible/proxy/vector_collection_test.py +++ b/tests/integration/backward_compatible/proxy/vector_collection_test.py @@ -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 @@ -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( @@ -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 @@ -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( @@ -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( From 90360868428fb45c8b4a867db0726583165d0be7 Mon Sep 17 00:00:00 2001 From: Yuce Tekol Date: Thu, 12 Feb 2026 17:22:01 +0300 Subject: [PATCH 2/3] Fixed broken link --- docs/getting_started.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting_started.rst b/docs/getting_started.rst index b58def4f3f..d6d95a6aeb 100644 --- a/docs/getting_started.rst +++ b/docs/getting_started.rst @@ -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 `__ +- `Supported Java Development Kit (JDK) `__ - Latest Hazelcast Python client Working with Hazelcast Clusters From e1f989db7ca552aa000b240fe4b9eed67b74275d Mon Sep 17 00:00:00 2001 From: Yuce Tekol Date: Thu, 12 Feb 2026 17:30:15 +0300 Subject: [PATCH 3/3] Fixed broken link --- docs/getting_started_asyncio.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting_started_asyncio.rst b/docs/getting_started_asyncio.rst index cdff656375..1ac1745d34 100644 --- a/docs/getting_started_asyncio.rst +++ b/docs/getting_started_asyncio.rst @@ -14,7 +14,7 @@ Requirements - Windows, Linux, macOS - Python 3.11 or newer - Hazelcast 5.6 or newer -- `Supported Java virtual machine `__ +- `Supported Java Development Kit (JDK) `__ - Latest Hazelcast Python client Working with Hazelcast Clusters