Skip to content

Commit

Permalink
Setting sanity hostname attr initially (#15350)
Browse files Browse the repository at this point in the history
  • Loading branch information
jyejare authored Jun 6, 2024
1 parent 34cdad5 commit 956ccf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pytest_fixtures/core/xdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
def align_to_satellite(request, worker_id, satellite_factory):
"""Attempt to align a Satellite to the current xdist worker"""
if 'build_sanity' in request.config.option.markexpr:
settings.set("server.hostname", None)
yield
if settings.server.hostname:
sanity_sat = Satellite(settings.server.hostname)
Expand Down

0 comments on commit 956ccf2

Please sign in to comment.