We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab7a125 commit bf5ada7Copy full SHA for bf5ada7
ydb/tests/tools/s3_recipe/__main__.py
@@ -18,7 +18,8 @@ def start(argv):
18
logging.debug("Starting S3 recipe")
19
pm = PortManager()
20
port = pm.get_port()
21
- url = "http://localhost:{port}".format(port=port)
+ url = "http://localhost:{port}".format(port=port) # S3 libs require DNS name for S3 endpoint
22
+ check_url = "http://[::1]:{port}".format(port=port)
23
cmd = [
24
yatest.common.binary_path(MOTO_SERVER_PATH),
25
"s3",
@@ -28,7 +29,7 @@ def start(argv):
28
29
30
def is_s3_ready():
31
try:
- response = requests.get(url)
32
+ response = requests.get(check_url)
33
response.raise_for_status()
34
return True
35
except requests.RequestException as err:
0 commit comments