forked from TrueCloudLab/frostfs-testcases
[#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
parent
9140c53db2
commit
bc92898d1d
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue