diff options
| author | budanga <lautaro_budin@hotmail.com> | 2026-11-28 10:42:21 -0300 |
|---|---|---|
| committer | budanga <lautaro_budin@hotmail.com> | 2026-11-28 10:42:21 -0300 |
| commit | 913b9aa4dd8d30dc85f9def1ec96d34e81e9035e (patch) | |
| tree | 0d514f3aeada33fc00916ed6f674a0fcf2e0cb23 /tests/test_run_gpu_tests_python_assembler.py | |
| parent | 1860dc591b516e313c9b14fff0b4edf8a0e6ad74 (diff) | |
test_rdna2spirv_spawn_quota: run the job child on the base interpreter, check it is alone (COMPUTE-WORKER-SPAWN-QUOTA)
Maintainer review: the Windows job test failed from a virtual environment. A venv's python.exe is a
launcher that runs the base interpreter as a second process, so in the worker's two-process job the
pair took both slots and every tool start was refused (refused 102 times in 10.0 s).
The child is now started with sys._base_executable (sys.executable outside a venv). It reports its
PID, and the test reads the job's process list: if the interpreter that starts the tools is not the
job's only process, the test is skipped with that reason instead of failing. The check is made from
the parent, since the venv launcher puts the real interpreter in a nested job of its own where it
sees one process.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions