mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 17:53:39 +00:00
fix(test): await session manager in claim recovery fixture
Wait for the asynchronous session manager helper before appending the initial worker-turn transcript message. This restores the gateway-other typecheck and exercises the warm second-turn recovery cases without changing production behavior.
This commit is contained in:
parent
ade7e3c216
commit
90897637d3
1 changed files with 1 additions and 1 deletions
|
|
@ -343,7 +343,7 @@ describe("worker pre-launch claim recovery", () => {
|
|||
"node cancellation unconfirmed",
|
||||
);
|
||||
}
|
||||
const leafId = openSessionManager().appendMessage(
|
||||
const leafId = (await openSessionManager()).appendMessage(
|
||||
makeAgentAssistantMessage({
|
||||
content: [{ type: "text", text: "First turn complete" }],
|
||||
timestamp: 41,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue