[P/D][BugFix] Fix layerwise P/D request_id error (#6360)

### What this PR does / why we need it?
Fix layerwise Connector P/D request_id error, due to vllm pr:
https://github.com/vllm-project/vllm/pull/27987, which will add a random
suffix to request_id in EngineCore.

- vLLM version: v0.14.1
- vLLM main:
https://github.com/vllm-project/vllm/commit/dc917cceb877dfd13f98c538c4c96158047d98bd
---------
Signed-off-by: nwpu-zxr <zhouxuerong2@huawei.com>
This commit is contained in:
zxr2333 authored and GitHub committed 2026-01-29 20:19:05 +08:00
1 parent feab047084
commit 14bd55f30c
2 files changed
+25 -6

No files matched your search

@@ -240,6 +240,7 @@ class TestKVCacheRecvingLayerThread(unittest.TestCase):
with th.lock:
th.task_tracker["reqX"] = 0
th.request_map["reqX"] = "reqX"
th.update_task("reqX")
with th.lock:
@@ -313,6 +314,7 @@ class TestKVCacheRecvingLayerThread(unittest.TestCase):
with th.lock:
th.task_tracker["reqA"] = 0
th.request_map["reqA"] = "reqA"
with self.assertRaises(SystemExit):
th.run()
@@ -386,6 +388,7 @@ class TestKVCacheRecvingLayerThread(unittest.TestCase):
ready_event=self.ready_event)
with th.lock:
th.task_tracker["reqB"] = 0
th.request_map["reqB"] = "reqB"
with self.assertRaises(SystemExit):
th.run()