chore: remove pytest-xdist parallel test infrastructure and switch to serial execution

This commit is contained in:
2026-06-12 05:43:33 +00:00
parent 1e2f304935
commit 425e9bdca1
8 changed files with 30 additions and 45 deletions
+1 -12
View File
@@ -12,18 +12,7 @@ PROJECT_ROOT = Path(__file__).resolve().parent.parent
SCREENSHOT_DIR = Path("/tmp/devplace_test_screenshots")
def _xdist_port():
wid = os.environ.get("PYTEST_XDIST_WORKER", "master")
if wid == "master":
return 10501
try:
idx = int(wid.replace("gw", ""))
return 10501 + idx
except (ValueError, AttributeError):
return 10501
PORT = _xdist_port()
PORT = 10501
BASE_URL = f"http://127.0.0.1:{PORT}"
_TEST_DB = tempfile.NamedTemporaryFile(suffix=f"_{PORT}.db", delete=False)