Skip to content

Commit

Permalink
tests: add node attrs output to node mgmt tests
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Zayats <[email protected]>
  • Loading branch information
Evgeniy Zayats committed Dec 24, 2024
1 parent afa7d08 commit 17bcfec
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pytest_tests/tests/network/test_node_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,13 @@ def validate_object_copies(
self, wallet: str, placement_rule: str, file_path: str, expected_copies: int
) -> set[int]:
endpoint = self.neofs_env.sn_rpc

for sn in self.neofs_env.storage_nodes:
self.neofs_env.neofs_cli(sn.cli_config).netmap.nodeinfo(
rpc_endpoint=sn.endpoint,
wallet=wallet,
)

cid = create_container(wallet, rule=placement_rule, basic_acl=PUBLIC_ACL, shell=self.shell, endpoint=endpoint)
got_policy = placement_policy_from_container(
get_container(wallet, cid, json_mode=False, shell=self.shell, endpoint=endpoint)
Expand Down

0 comments on commit 17bcfec

Please sign in to comment.