Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #2809

Merged
merged 2 commits into from
Jun 25, 2023
Merged

Fix CI #2809

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion redis/asyncio/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ async def _connect(self):
await self.on_connect()

def _host_error(self) -> str:
return self.host
return self.path

def _error_message(self, exception: BaseException) -> str:
# args for socket.error can either be (errno, "message")
Expand Down
1 change: 1 addition & 0 deletions tests/test_asyncio/test_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ async def test_slowlog(modclient: redis.Redis):


@pytest.mark.redismod
@pytest.mark.xfail(strict=False)
async def test_query_timeout(modclient: redis.Redis):
# Build a sample graph with 1000 nodes.
await modclient.graph().query("UNWIND range(0,1000) as val CREATE ({v: val})")
Expand Down
1 change: 1 addition & 0 deletions tests/test_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ def test_slowlog(client):


@pytest.mark.redismod
@pytest.mark.xfail(strict=False)
def test_query_timeout(client):
# Build a sample graph with 1000 nodes.
client.graph().query("UNWIND range(0,1000) as val CREATE ({v: val})")
Expand Down