mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 16:25:33 +01:00
parallel tests.
This commit is contained in:
parent
6834e563a8
commit
6c308116d6
2 changed files with 1 additions and 4 deletions
|
|
@ -64,9 +64,6 @@ def get_schema():
|
|||
|
||||
|
||||
def open_index(recreate=False):
|
||||
# TODO: this is not thread safe. If 2 instances try to create the index
|
||||
# at the same time, this fails. This currently prevents parallel
|
||||
# tests.
|
||||
try:
|
||||
if exists_in(settings.INDEX_DIR) and not recreate:
|
||||
return open_dir(settings.INDEX_DIR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue