[PD+PP] Honor PP consensus for bootstrap and prealloc (#31869)
Co-authored-by: Chao Shi <chao.shi@alibaba-inc.com>
This commit is contained in:
@@ -40,6 +40,7 @@ class TestDecodeQueueCleanup(CustomTestCase):
|
||||
decode_req = SimpleNamespace(req=req, kv_receiver=receiver)
|
||||
|
||||
queue = DecodePreallocQueue.__new__(DecodePreallocQueue)
|
||||
queue.pp_size = 1
|
||||
queue.queue = [decode_req]
|
||||
queue.pending_reqs = []
|
||||
queue.retracted_queue = []
|
||||
@@ -86,6 +87,7 @@ class TestDecodeQueueCleanup(CustomTestCase):
|
||||
decode_req = SimpleNamespace(req=req, kv_receiver=receiver)
|
||||
|
||||
queue = DecodePreallocQueue.__new__(DecodePreallocQueue)
|
||||
queue.pp_size = 1
|
||||
queue.queue = [decode_req]
|
||||
queue.pending_reqs = [decode_req] # same object, dual ownership
|
||||
queue.retracted_queue = []
|
||||
|
||||
Reference in New Issue
Block a user