Commit ab18292c authored by Michal Čihař's avatar Michal Čihař

Flush caches before running test

parent d96960b1
......@@ -116,6 +116,11 @@ class PeriodicTest(RepoTestCase):
)
def test_update_index(self):
# Flush possible caches
FULLTEXT_INDEX._source_writer.commit()
for lang in FULLTEXT_INDEX._target_writer:
FULLTEXT_INDEX._target_writer[lang].commit()
call_command(
'update_index'
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment