From a0d0ddde85045f9ee328353629209f4f83ee1dda Mon Sep 17 00:00:00 2001 From: Kirill Rysin <35688753+naspirato@users.noreply.github.com> Date: Thu, 30 Jan 2025 17:39:55 +0100 Subject: [PATCH] STABILITY TOOL: support next ydbd version (#14039) --- ydb/tests/stability/tool/__main__.py | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/ydb/tests/stability/tool/__main__.py b/ydb/tests/stability/tool/__main__.py index f14e6866e8ac..87dcdd2b7de6 100644 --- a/ydb/tests/stability/tool/__main__.py +++ b/ydb/tests/stability/tool/__main__.py @@ -308,18 +308,7 @@ def deploy_ydb(self): 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(): @@ -363,6 +352,12 @@ def parse_args(): type=path_type, 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, @@ -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: