Skip to content

Commit

Permalink
fix: reset threading lock at conftest
Browse files Browse the repository at this point in the history
  • Loading branch information
trgiangdo committed Mar 1, 2024
1 parent 9fcb5eb commit 613d049
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/core/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import shutil
from datetime import datetime
from queue import Queue
from threading import Lock
from unittest.mock import patch

import pandas as pd
Expand Down Expand Up @@ -378,6 +379,7 @@ def _init_orchestrator():
_OrchestratorFactory._build_dispatcher(force_restart=True)
_OrchestratorFactory._orchestrator.jobs_to_run = Queue()
_OrchestratorFactory._orchestrator.blocked_jobs = []
_OrchestratorFactory._orchestrator.lock = Lock()

return _init_orchestrator

Expand Down

0 comments on commit 613d049

Please sign in to comment.