yuqi1129 opened a new issue, #10743:
URL: https://github.com/apache/gravitino/issues/10743
### Version
main branch
### Describe what's wrong
When running tests in the mcp-server module, the following problems will
occur
```
File
"/Users/yuqi/project/gravitino-enterprise/mcp-server/tests/unit/tools/test_topic.py",
line 48, in _test_load_topic
async with Client(mcp_server) as client:
File
"/Users/yuqi/project/gravitino-enterprise/mcp-server/.venv/lib/python3.10/site-packages/fastmcp/client/client.py",
line 496, in __aenter__
return await self._connect()
File
"/Users/yuqi/project/gravitino-enterprise/mcp-server/.venv/lib/python3.10/site-packages/fastmcp/client/client.py",
line 587, in _connect
raise RuntimeError(
RuntimeError: Client failed to connect: cannot import name 'FakeConnection'
from 'fakeredis.aioredis'
(/Users/yuqi/project/gravitino-enterprise/mcp-server/.venv/lib/python3.10/site-packages/fakeredis/aioredis.py)
```
### Error message and/or stacktrace
Please see above.
### How to reproduce
Please see above.
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]