Skip to content

Commit de9dc27

Browse files
rlamyskshetry
authored andcommitted
Force IPv4 resolution for MockedS3Server
This avoids IPv6 resolution failures which can cause a massive slow-down on Windows.
1 parent 679f82a commit de9dc27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytest_servers/s3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class MockedS3Server:
55
def __init__(
66
self,
7-
ip_address: str = "localhost",
7+
ip_address: str = "127.0.0.1",
88
port: int = 0,
99
verbose: bool = True,
1010
):

0 commit comments

Comments
 (0)