aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-08-23 17:25:43 +0300
committeralexv-smirnov <alex@ydb.tech>2023-08-23 19:28:16 +0300
commitb3a91b25d1f9f3a12b8c2b0201102ec711b77ffb (patch)
tree68ca51473a84bb8a21c6683983bd3a355d5c0a62
parent7deac735936ee077245ecb709363b846f407289e (diff)
downloadydb-b3a91b25d1f9f3a12b8c2b0201102ec711b77ffb.tar.gz
Enable S3 recipe to use a custom moto server binary
-rw-r--r--ydb/tests/tools/s3_recipe/__main__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ydb/tests/tools/s3_recipe/__main__.py b/ydb/tests/tools/s3_recipe/__main__.py
index d0f6b29d0d..dd64194688 100644
--- a/ydb/tests/tools/s3_recipe/__main__.py
+++ b/ydb/tests/tools/s3_recipe/__main__.py
@@ -8,9 +8,10 @@ from library.python.testing.recipe import declare_recipe, set_env
from library.recipes import common as recipes_common
from yatest.common.network import PortManager
import yatest.common
+import os
PID_FILENAME = "s3_recipe.pid"
-MOTO_SERVER_PATH = "contrib/python/moto/bin/moto_server"
+MOTO_SERVER_PATH = os.getenv("MOTO_SERVER_EXECUTABLE") or "contrib/python/moto/bin/moto_server"
def start(argv):