Skip to content

Commit 2ff20ea

Browse files
[Disagg] Refined e2e test cleanup (#1265)
1 parent 60536e6 commit 2ff20ea

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/e2e/test_local_disagg.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
33

44
import os
5+
import time
56
from dataclasses import asdict
67
from unittest.mock import patch
78

@@ -116,7 +117,8 @@ def test_disaggregated_serving(test_prompts, sampling_params):
116117
print(f"Generated: {output.outputs[0].text!r}")
117118

118119
finally:
119-
# Clean up if needed, though LLM destructor usually handles it
120+
del llm
121+
time.sleep(10)
120122
pass
121123

122124

@@ -144,7 +146,7 @@ def run_inner():
144146
return llm.generate(test_prompts, sampling_params)
145147
finally:
146148
del llm
147-
# No explicit sleep needed for mock, but good practice if real hardware
149+
time.sleep(10)
148150
pass
149151

150152
if is_disagg:

0 commit comments

Comments
 (0)