diff --git a/neofs-testlib/neofs_testlib/env/env.py b/neofs-testlib/neofs_testlib/env/env.py index c760d2d3e..8e2e0d9eb 100644 --- a/neofs-testlib/neofs_testlib/env/env.py +++ b/neofs-testlib/neofs_testlib/env/env.py @@ -1021,6 +1021,7 @@ def delete_data(self): state_file=self.state_file, pprof_address=self.pprof_address, prometheus_address=self.prometheus_address, + attrs=self.node_attrs, ) time.sleep(1) @@ -1043,6 +1044,7 @@ def delete_metadata(self): state_file=self.state_file, pprof_address=self.pprof_address, prometheus_address=self.prometheus_address, + attrs=self.node_attrs, ) time.sleep(1) diff --git a/pytest_tests/tests/network/test_node_management.py b/pytest_tests/tests/network/test_node_management.py index fca0cdd58..c7e708a55 100644 --- a/pytest_tests/tests/network/test_node_management.py +++ b/pytest_tests/tests/network/test_node_management.py @@ -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)