We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cebf135 commit a6f5057Copy full SHA for a6f5057
tests/client/test_multimodal.py
@@ -151,9 +151,9 @@ def clear_indexes(self, client):
151
try:
152
task = client.index(index.uid).delete()
153
client.wait_for_task(task.task_uid)
154
- except (MeilisearchApiError, Exception): # pylint: disable=broad-exception-caught
155
- # Ignore errors when deleting indexes (may not exist)
156
- pass
+ except MeilisearchApiError as exc:
+ # Index may already have been deleted by another test run; log and continue.
+ print(f"Warning: failed to delete index {index.uid} during cleanup: {exc}")
157
158
@pytest.fixture(scope="class", autouse=True)
159
def setup_index(self, request):
0 commit comments