From f70dfd310efe8f1334c6d51f789c932dfdeaac9e Mon Sep 17 00:00:00 2001 From: Andrey Berezin Date: Mon, 2 Oct 2023 09:59:01 +0300 Subject: [PATCH] [#97] Use shards config path Signed-off-by: Andrey Berezin --- pytest_tests/testsuites/shard/test_control_shard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest_tests/testsuites/shard/test_control_shard.py b/pytest_tests/testsuites/shard/test_control_shard.py index 46362d0..b9d4dd8 100644 --- a/pytest_tests/testsuites/shard/test_control_shard.py +++ b/pytest_tests/testsuites/shard/test_control_shard.py @@ -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