aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKirill Rysin <35688753+naspirato@users.noreply.github.com>2025-01-30 17:39:55 +0100
committerGitHub <noreply@github.com>2025-01-30 16:39:55 +0000
commita0d0ddde85045f9ee328353629209f4f83ee1dda (patch)
treeb5e89c8f909d77b9f0c5355eed49bf9a86375210
parent43d4c4752a4d8dc84ebca42a13c9e5dcde8010b2 (diff)
downloadydb-a0d0ddde85045f9ee328353629209f4f83ee1dda.tar.gz
STABILITY TOOL: support next ydbd version (#14039)
-rw-r--r--ydb/tests/stability/tool/__main__.py20
1 files changed, 8 insertions, 12 deletions
diff --git a/ydb/tests/stability/tool/__main__.py b/ydb/tests/stability/tool/__main__.py
index f14e6866e8a..87dcdd2b7de 100644
--- a/ydb/tests/stability/tool/__main__.py
+++ b/ydb/tests/stability/tool/__main__.py
@@ -308,18 +308,7 @@ class StabilityCluster:
node = list(self.kikimr_cluster.nodes.values())[0]
node.ssh_command("/Berkanavt/kikimr/bin/kikimr admin console validator disable bootstrap", raise_on_error=True)
- for node in self.kikimr_cluster.nodes.values():
- node.ssh_command(["sudo", "mkdir", "-p", STRESS_BINARIES_DEPLOY_PATH], raise_on_error=False)
- for artifact in self.artifacts:
- node.copy_file_or_dir(
- artifact,
- os.path.join(
- STRESS_BINARIES_DEPLOY_PATH,
- os.path.basename(
- artifact
- )
- )
- )
+ self.deploy_tools()
def deploy_tools(self):
for node in self.kikimr_cluster.nodes.values():
@@ -364,6 +353,12 @@ def parse_args():
help="Path to ydbd",
)
parser.add_argument(
+ "--next_ydbd_path",
+ required=False,
+ type=path_type,
+ help="Path to next ydbd version",
+ )
+ parser.add_argument(
"--ssh_user",
required=False,
default=getpass.getuser(),
@@ -406,6 +401,7 @@ def main():
ssh_username=ssh_username,
cluster_path=args.cluster_path,
ydbd_path=args.ydbd_path,
+ ydbd_next_path=args.next_ydbd_path,
)
for action in args.actions: