Skip to content

Commit 3e30a75

Browse files
authored
Skip vector collection test for Hz < 5.5 (#682)
1 parent 1e7ab6c commit 3e30a75

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration/backward_compatible/proxy/vector_collection_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import hazelcast.errors
77
from tests.base import SingleMemberTestCase
8-
from tests.util import random_string, compare_client_version
8+
from tests.util import random_string, compare_client_version, skip_if_server_version_older_than
99

1010
try:
1111
from hazelcast.vector import IndexConfig, Metric, Document, Vector, Type
@@ -32,6 +32,7 @@ def configure_client(cls, config):
3232
return config
3333

3434
def setUp(self):
35+
skip_if_server_version_older_than(self, self.client, "5.5")
3536
name = random_string()
3637
self.client.create_vector_collection_config(name, [IndexConfig("vector", Metric.COSINE, 3)])
3738
self.vector_collection = self.client.get_vector_collection(name).blocking()

0 commit comments

Comments
 (0)