File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -227,19 +227,10 @@ def test_index_compact(client):
227227 index = client .index (common .INDEX_UID )
228228 # Get stats before compaction
229229 stats_before = index .get_stats ()
230- print (
231- "Before compaction:" ,
232- f"number_of_documents={ stats_before .number_of_documents } , "
233- f"is_indexing={ stats_before .is_indexing } "
234- )
235230
236231 task_info = index .compact ()
237232 client .wait_for_task (task_info .task_uid )
238233 stats_after = index .get_stats ()
239- print (
240- "After compaction:" ,
241- f"number_of_documents={ stats_after .number_of_documents } , "
242- f"is_indexing={ stats_after .is_indexing } "
243- )
234+
244235 assert stats_before .number_of_documents == stats_after .number_of_documents
245236 assert stats_after .is_indexing is False
You can’t perform that action at this time.
0 commit comments