Skip to content

Commit b788274

Browse files
committed
[fix] Fix test_connector_scheduler_output
- Do not expect an additional token when using the overlap scheduler. Signed-off-by: Robin Kobus <[email protected]>
1 parent 10a1cf0 commit b788274

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/integration/defs/llmapi/test_llm_api_connector.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,7 @@ def test_connector_scheduler_output(enforce_single_worker, model_with_connector,
238238
scheduler.update_state_after_alloc.call_args.args[1]) == math.ceil(
239239
NUM_INPUT_TOKENS / BLOCK_SIZE)
240240

241-
# Additional token when using the overlap scheduler.
242-
assert scheduler.build_connector_meta.call_count == NUM_TOKENS + int(
243-
use_overlap_scheduler)
241+
assert scheduler.build_connector_meta.call_count == NUM_TOKENS
244242

245243
for i, call in enumerate(scheduler.build_connector_meta.call_args_list):
246244
sched_output = call.args[0]

0 commit comments

Comments
 (0)