Skip to content

Commit

Permalink
Fix CI (#2809)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvora-h authored Jun 25, 2023
1 parent d25a96b commit 04aadd7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
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

0 comments on commit 04aadd7

Please sign in to comment.