This commit is contained in:
Ekaterina Chernitsyna 2024-11-22 17:43:43 +03:00
parent c5553d7511
commit 12e7cb12bf

View file

@ -39,6 +39,18 @@ def remote_frostfs_adm_first_node(cluster: Cluster):
return adm
@pytest.fixture(scope="session")
def remote_frostfs_cli_first_node(cluster: Cluster):
node = cluster.cluster_nodes[0]
shell = node.host.get_shell()
cli = FrostfsCli(
shell=shell,
frostfs_cli_exec_path=FROSTFS_CLI_EXEC,
config_file=node.storage_node.get_remote_wallet_config_path(),
)
return cli
def morph_on_node(node: ClusterNode, id_chains_for_remove: list[str]):
shell: Shell = node.host.get_shell()
adm = FrostfsAdm(