From 5d350e6cfeb8b18c46c949a70c1416b6a0c98fa5 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)