[#97] Use shards config path #97

Merged
abereziny merged 1 commit from abereziny/frostfs-testcases:feature-fix-shards-tests into master 2023-10-02 07:49:45 +00:00

View file

@ -116,7 +116,7 @@ def shards_from_env(contents: str) -> list[Shard]:
class TestControlShard:
@staticmethod
def get_shards_from_config(node: StorageNode) -> list[Shard]:
config_file = node.get_remote_config_path()
config_file = node.get_shard_config_path()
file_type = pathlib.Path(config_file).suffix
contents = node.host.get_shell().exec(f"cat {config_file}").stdout