mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
fix(e2e): bound mcp client logs
This commit is contained in:
@@ -9,8 +9,8 @@ describe("Docker E2E observability", () => {
|
||||
const script = readFileSync(scriptPath, "utf8");
|
||||
const successTail = script.slice(script.lastIndexOf('if [ "$status" -ne 0 ]; then'));
|
||||
|
||||
expect(successTail).toContain('cat "$CLIENT_LOG"');
|
||||
expect(successTail.indexOf('cat "$CLIENT_LOG"')).toBeLessThan(
|
||||
expect(successTail).toContain('docker_e2e_print_log "$CLIENT_LOG"');
|
||||
expect(successTail.indexOf('docker_e2e_print_log "$CLIENT_LOG"')).toBeLessThan(
|
||||
successTail.indexOf('echo "OK"'),
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user