From bc92898d1d843c843f6a2978c1b3c1a0b420657b Mon Sep 17 00:00:00 2001 From: mkadilov Date: Tue, 27 Feb 2024 23:24:29 +0300 Subject: [PATCH] [#200] Validate object get range hash with different nodes Validate object get range hash with different nodes Signed-off-by: Mikhail Kadilov m.kadilov@yadro.com --- pytest_tests/testsuites/object/test_object_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytest_tests/testsuites/object/test_object_api.py b/pytest_tests/testsuites/object/test_object_api.py index 4a8f2a6..e75cd01 100755 --- a/pytest_tests/testsuites/object/test_object_api.py +++ b/pytest_tests/testsuites/object/test_object_api.py @@ -526,7 +526,7 @@ class TestObjectApi(ClusterTestBase): container_node = nodes[0] range_cut="0:10" with reporter.step("Execute command on container node"): - result = get_range(wallet, cid, oid, range_cut, container_node.host.get_shell(), container_node.storage_node.get_rpc_endpoint()) + result = get_range(wallet, cid, oid, range_cut, shell, container_node.storage_node.get_rpc_endpoint()) assert "object not found" not in result # taking node NOT from container @@ -536,7 +536,7 @@ class TestObjectApi(ClusterTestBase): break range_cut="0:10" with reporter.step("Execute command on not container node"): - result = get_range(wallet, cid, oid, range_cut, not_container_node.host.get_shell(), not_container_node.storage_node.get_rpc_endpoint()) + result = get_range(wallet, cid, oid, range_cut, shell, not_container_node.storage_node.get_rpc_endpoint()) assert "object not found" not in result def check_header_is_presented(self, head_info: dict, object_header: dict) -> None: