mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-03 18:01:28 +00:00
test(agents): stabilize implicit sandbox exec status assertion on windows
This commit is contained in:
committed by
Gustavo Madeira Santana
parent
de7cf963e4
commit
bcd964d268
@@ -644,6 +644,8 @@ describe("Agent-specific tool filtering", () => {
|
||||
|
||||
const result = await execTool!.execute("call-implicit-sandbox-default", {
|
||||
command: "echo done",
|
||||
// CI on slower Windows runners can surface an in-flight status with very low yieldMs.
|
||||
yieldMs: 1000,
|
||||
});
|
||||
const details = result?.details as { status?: string } | undefined;
|
||||
expect(details?.status).toBe("completed");
|
||||
|
||||
Reference in New Issue
Block a user