Skip to content

Commit

Permalink
Skip discovery actors when loading the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
zhukovgreen authored and pirat89 committed Jun 10, 2020
1 parent 22dcfd8 commit 84e1ca6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def pytest_collectstart(collector):
repo = find_and_scan_repositories(
find_repository_basedir(collector.nodeid), include_locals=True
)
repo.load()
repo.load(skip_actors_discovery=True)
collector.session.leapp_repository = repo
collector.session.repo_base_dir = current_repo_basedir

Expand Down Expand Up @@ -64,10 +64,7 @@ def pytest_collectstart(collector):


def pytest_runtestloop(session):
session.current_actor_context.__exit__(
None, None, None
)
session.current_actor_context.__exit__(None, None, None)
logger.info(
"Actor %r context teardown complete",
session.current_actor.name,
"Actor %r context teardown complete", session.current_actor.name,
)

0 comments on commit 84e1ca6

Please sign in to comment.