Merge pull request #1763 from QwenLM/fix/simple-mcp-server-test
Some checks are pending
Qwen Code CI / Lint (push) Waiting to run
Qwen Code CI / Test (push) Blocked by required conditions
Qwen Code CI / Test-1 (push) Blocked by required conditions
Qwen Code CI / Test-2 (push) Blocked by required conditions
Qwen Code CI / Test-3 (push) Blocked by required conditions
Qwen Code CI / Test-4 (push) Blocked by required conditions
Qwen Code CI / Test-5 (push) Blocked by required conditions
Qwen Code CI / Test-6 (push) Blocked by required conditions
Qwen Code CI / Test-7 (push) Blocked by required conditions
Qwen Code CI / Test-8 (push) Blocked by required conditions
Qwen Code CI / Post Coverage Comment (push) Blocked by required conditions
Qwen Code CI / CodeQL (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:none (push) Waiting to run
E2E Tests / E2E Test - macOS (push) Waiting to run

fix(integration-tests): correct MCP tool name in simple-mcp-server test
This commit is contained in:
pomelo 2026-02-09 10:09:44 +08:00 committed by GitHub
commit 9bccd49711
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -215,7 +215,9 @@ describe('simple-mcp-server', () => {
// Just run the command - MCP server config is in settings.json
const output = await rig.run('add 5 and 10, use tool if you can.');
const foundToolCall = await rig.waitForToolCall('add');
const foundToolCall = await rig.waitForToolCall(
'mcp__addition-server__add',
);
expect(foundToolCall, 'Expected to find an add tool call').toBeTruthy();