File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ def test_optimize_threshold_cache_default(redis_url):
195195 distance_threshold = null_threshold ,
196196 )
197197
198- redis_version = cache .client .info ()["redis_version" ]
198+ redis_version = cache ._index . client .info ()["redis_version" ]
199199 if not compare_versions (redis_version , "7.0.0" ):
200200 pytest .skip ("Not using a late enough version of Redis" )
201201
@@ -223,7 +223,7 @@ def test_optimize_threshold_cache_precision(redis_url):
223223 distance_threshold = null_threshold ,
224224 )
225225
226- redis_version = cache .client .info ()["redis_version" ]
226+ redis_version = cache ._index . client .info ()["redis_version" ]
227227 if not compare_versions (redis_version , "7.0.0" ):
228228 pytest .skip ("Not using a late enough version of Redis" )
229229
@@ -251,7 +251,7 @@ def test_optimize_threshold_cache_recall(redis_url):
251251 distance_threshold = null_threshold ,
252252 )
253253
254- redis_version = cache .client .info ()["redis_version" ]
254+ redis_version = cache ._index . client .info ()["redis_version" ]
255255 if not compare_versions (redis_version , "7.0.0" ):
256256 pytest .skip ("Not using a late enough version of Redis" )
257257
You can’t perform that action at this time.
0 commit comments