[mem_cache] Move kv_committed_len into ReqKvInfo (#37078)
This commit is contained in:
@@ -225,10 +225,10 @@ class TestSpecialCaseBasic(ScriptedTestCase):
|
||||
)
|
||||
for _ in range(DEFAULT_MAX_STEPS):
|
||||
if r.is_chunking:
|
||||
assert len(r.req.prefix_indices) <= r.req.kv_committed_len, (
|
||||
assert len(r.req.prefix_indices) <= r.req.kv.kv_committed_len, (
|
||||
f"streaming-session chunked stash must stay bounded by "
|
||||
f"kv_committed_len; prefix_indices_len={len(r.req.prefix_indices)}, "
|
||||
f"kv_committed_len={r.req.kv_committed_len}"
|
||||
f"kv_committed_len={r.req.kv.kv_committed_len}"
|
||||
)
|
||||
if r.finished:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user