From 956ccf2cf27858da467689e309cdff815f4bde2f Mon Sep 17 00:00:00 2001 From: Jitendra Yejare Date: Thu, 6 Jun 2024 22:19:16 +0530 Subject: [PATCH] Setting sanity hostname attr initially (#15350) --- pytest_fixtures/core/xdist.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pytest_fixtures/core/xdist.py b/pytest_fixtures/core/xdist.py index 855cd2b1cfd..be497dd988d 100644 --- a/pytest_fixtures/core/xdist.py +++ b/pytest_fixtures/core/xdist.py @@ -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)