Skip to content

Commit 2c2ce32

Browse files
authored
Fix flakiness in async driver (#820)
I honestly have no idea what's going on. But this seems to fix it for now. Let's see which hole the same mole will peak through the next time around :/
1 parent 4046181 commit 2c2ce32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo4j/_async_compat/network/_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async def _dns_resolver(address, family=0):
4747
)
4848
except OSError:
4949
raise ValueError("Cannot resolve address {}".format(address))
50-
return _resolved_addresses_from_info(info, address.host_name)
50+
return list(_resolved_addresses_from_info(info, address.host_name))
5151

5252
@staticmethod
5353
async def resolve_address(address, family=0, resolver=None):

0 commit comments

Comments
 (0)