[Core] Fix standalone runs of test_reset_prefix_cache_e2e (#29899)

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
This commit is contained in:
Mark McLoughlin 2025-12-04 08:22:03 +00:00 committed by GitHub
parent 68eb5c8d97
commit 899e2ef558
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,9 @@ PROMPTS = [
]
def test_reset_prefix_cache_e2e():
def test_reset_prefix_cache_e2e(monkeypatch):
# "spawn" is required for test to be deterministic
monkeypatch.setenv("VLLM_WORKER_MULTIPROC_METHOD", "spawn")
engine_args = EngineArgs(
model="Qwen/Qwen3-0.6B",
gpu_memory_utilization=0.2,