Skip to content

Commit f32d18e

Browse files
authored
test: enable test_multidim_knn python test (#5329)
test: enable KNN python search test
1 parent 01cda4f commit f32d18e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/dragonfly/search_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,6 @@ async def test_knn(async_client: aioredis.Redis, index_type, algo_type):
280280
@dfly_args({"proactor_threads": 4})
281281
@pytest.mark.parametrize("index_type", [IndexType.HASH, IndexType.JSON])
282282
@pytest.mark.parametrize("algo_type", ["HNSW", "FLAT"])
283-
@pytest.mark.skip("Fails on ARM")
284283
async def test_multidim_knn(async_client: aioredis.Redis, index_type, algo_type):
285284
vector_field = VectorField(
286285
"pos",
@@ -316,7 +315,7 @@ def rand_point():
316315
# Run 10 random queries
317316
for _ in range(10):
318317
center = rand_point()
319-
limit = random.randint(1, NUM_POINTS / 10)
318+
limit = random.randint(1, NUM_POINTS // 10)
320319

321320
expected_ids = [
322321
f"k{i}"

0 commit comments

Comments
 (0)