Skip to content

Commit c7ab862

Browse files
committed
Clear search index *before* unittests
Clear the search index *before* each unittest rather than after, as this seems more robust. See: #9638 (comment)
1 parent 886a2bc commit c7ab862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/h/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@
6969

7070
@pytest.fixture
7171
def es_client(es_client, clear_search_index):
72-
yield es_client
7372
clear_search_index()
73+
yield es_client
7474

7575

7676
class DummyFeature:

0 commit comments

Comments
 (0)