mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-08 11:52:54 +00:00
test(agents): wait for MCP method-not-found log
This commit is contained in:
@@ -1137,8 +1137,10 @@ process.on("SIGINT", shutdown);`,
|
||||
toolCount: 0,
|
||||
resources: { listChanged: true },
|
||||
});
|
||||
await expect(fs.readFile(logPath, "utf8")).resolves.toContain(
|
||||
await waitForFileText(
|
||||
logPath,
|
||||
"reject tools/list method not found",
|
||||
LIST_TOOLS_SERVER_LOG_TIMEOUT_MS,
|
||||
);
|
||||
} finally {
|
||||
await runtime.dispose();
|
||||
|
||||
Reference in New Issue
Block a user