forked from TrueCloudLab/frostfs-testcases
Fix: Allow RANGEHASH by default for system wallets
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
This commit is contained in:
parent
b38403699c
commit
805e014c2f
2 changed files with 35 additions and 37 deletions
|
@ -48,8 +48,8 @@ class TestEACLContainer:
|
||||||
f"REP {self.NODE_COUNT} IN X CBF 1 SELECT {self.NODE_COUNT} FROM * AS X"
|
f"REP {self.NODE_COUNT} IN X CBF 1 SELECT {self.NODE_COUNT} FROM * AS X"
|
||||||
)
|
)
|
||||||
cid = create_container(
|
cid = create_container(
|
||||||
user_wallet.wallet_path,
|
wallet=user_wallet.wallet_path,
|
||||||
full_placement_rule,
|
rule=full_placement_rule,
|
||||||
basic_acl=PUBLIC_ACL,
|
basic_acl=PUBLIC_ACL,
|
||||||
shell=client_shell,
|
shell=client_shell,
|
||||||
)
|
)
|
||||||
|
@ -322,7 +322,6 @@ class TestEACLContainer:
|
||||||
wallet_config=storage_wallet.config_path,
|
wallet_config=storage_wallet.config_path,
|
||||||
)
|
)
|
||||||
|
|
||||||
with pytest.raises(AssertionError):
|
|
||||||
assert can_get_range_hash_of_object(
|
assert can_get_range_hash_of_object(
|
||||||
wallet=ir_wallet.wallet_path,
|
wallet=ir_wallet.wallet_path,
|
||||||
cid=cid,
|
cid=cid,
|
||||||
|
@ -330,7 +329,7 @@ class TestEACLContainer:
|
||||||
shell=client_shell,
|
shell=client_shell,
|
||||||
wallet_config=ir_wallet.config_path,
|
wallet_config=ir_wallet.config_path,
|
||||||
)
|
)
|
||||||
with pytest.raises(AssertionError):
|
|
||||||
assert can_get_range_hash_of_object(
|
assert can_get_range_hash_of_object(
|
||||||
wallet=storage_wallet.wallet_path,
|
wallet=storage_wallet.wallet_path,
|
||||||
cid=cid,
|
cid=cid,
|
||||||
|
@ -588,7 +587,6 @@ class TestEACLContainer:
|
||||||
wallet_config=storage_wallet.config_path,
|
wallet_config=storage_wallet.config_path,
|
||||||
)
|
)
|
||||||
|
|
||||||
with pytest.raises(AssertionError):
|
|
||||||
assert can_get_range_hash_of_object(
|
assert can_get_range_hash_of_object(
|
||||||
wallet=ir_wallet.wallet_path,
|
wallet=ir_wallet.wallet_path,
|
||||||
cid=cid,
|
cid=cid,
|
||||||
|
@ -596,7 +594,7 @@ class TestEACLContainer:
|
||||||
shell=client_shell,
|
shell=client_shell,
|
||||||
wallet_config=ir_wallet.config_path,
|
wallet_config=ir_wallet.config_path,
|
||||||
)
|
)
|
||||||
with pytest.raises(AssertionError):
|
|
||||||
assert can_get_range_hash_of_object(
|
assert can_get_range_hash_of_object(
|
||||||
wallet=storage_wallet.wallet_path,
|
wallet=storage_wallet.wallet_path,
|
||||||
cid=cid,
|
cid=cid,
|
||||||
|
|
|
@ -180,9 +180,9 @@ def verify_get_storage_group(
|
||||||
wallet, cid, obj, shell=shell, bearer=bearer, wallet_config=wallet_config
|
wallet, cid, obj, shell=shell, bearer=bearer, wallet_config=wallet_config
|
||||||
)
|
)
|
||||||
obj_head = head_object(
|
obj_head = head_object(
|
||||||
wallet,
|
wallet=wallet,
|
||||||
cid,
|
cid=cid,
|
||||||
link_oid,
|
oid=link_oid,
|
||||||
shell=shell,
|
shell=shell,
|
||||||
is_raw=True,
|
is_raw=True,
|
||||||
bearer=bearer,
|
bearer=bearer,
|
||||||
|
|
Loading…
Reference in a new issue