Skip to content

Commit 3d9d40e

Browse files
authored
[Bugfix][CI] Fix test_remote_decode_lifecycle.py::test_short_prompt_lifecycle (#22727)
Signed-off-by: NickLucche <[email protected]>
1 parent 67c153b commit 3d9d40e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/v1/kv_connector/unit/test_remote_decode_lifecycle.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,9 @@ def test_short_prompt_lifecycle():
130130
# Confirm we do not have any memory leaks after req lifecycle.
131131
# We need to mark sending finish to clear data for persistent batch.
132132
scheduler_output = scheduler.schedule()
133-
model_runner_output = copy.deepcopy(EMPTY_MODEL_RUNNER_OUTPUT)
134-
model_runner_output.finished_sending = [request.request_id]
133+
# Use create_model_runner_output to pass kv_connector_output along
134+
model_runner_output = create_model_runner_output(
135+
reqs=[request], finished_sending=[request.request_id])
135136
scheduler.update_from_output(scheduler_output, model_runner_output)
136137
assert_scheduler_empty(scheduler)
137138

0 commit comments

Comments
 (0)