Skip to content

Commit 899e2ef

Browse files
authored
[Core] Fix standalone runs of test_reset_prefix_cache_e2e (vllm-project#29899)
Signed-off-by: Mark McLoughlin <[email protected]>
1 parent 68eb5c8 commit 899e2ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/v1/core/test_reset_prefix_cache_e2e.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
]
1212

1313

14-
def test_reset_prefix_cache_e2e():
14+
def test_reset_prefix_cache_e2e(monkeypatch):
15+
# "spawn" is required for test to be deterministic
16+
monkeypatch.setenv("VLLM_WORKER_MULTIPROC_METHOD", "spawn")
1517
engine_args = EngineArgs(
1618
model="Qwen/Qwen3-0.6B",
1719
gpu_memory_utilization=0.2,

0 commit comments

Comments
 (0)