forked from TrueCloudLab/frostfs-testcases
[#268]: Rename neofs-cli parameter to expire-at
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
This commit is contained in:
parent
6357554ed9
commit
cccfc41409
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ def test_object_api_lifetime(prepare_wallet_and_deposit, request, object_size):
|
||||||
file_hash = get_file_hash(file_path)
|
file_hash = get_file_hash(file_path)
|
||||||
epoch = get_epoch()
|
epoch = get_epoch()
|
||||||
|
|
||||||
oid = put_object(wallet, file_path, cid, options=f'--expires-on {epoch + 1}')
|
oid = put_object(wallet, file_path, cid, options=f'--expire-at {epoch + 1}')
|
||||||
got_file = get_object(wallet, cid, oid)
|
got_file = get_object(wallet, cid, oid)
|
||||||
assert get_file_hash(got_file) == file_hash
|
assert get_file_hash(got_file) == file_hash
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue