Skip to content

Commit 64f2913

Browse files
committed
feat: Add support for compacting database indexes.
1 parent 76ae433 commit 64f2913

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/index/test_index.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,7 @@ def test_delete_index(client):
224224
@pytest.mark.usefixtures("indexes_sample")
225225
def test_index_compact(client):
226226
"""Tests the compaction of an index."""
227-
assert client.get_index(uid=common.INDEX_UID)
228-
index: Index = client.index("movies")
227+
index = client.index(common.INDEX_UID)
229228
# Get stats before compaction
230229
stats_before = index.get_stats()
231230
print(

0 commit comments

Comments
 (0)