2021-02-12 00:34:44 +03:00
|
|
|
*** Settings ***
|
2021-12-09 13:58:51 +03:00
|
|
|
Variables common.py
|
|
|
|
|
|
|
|
Library neofs.py
|
2022-03-15 14:58:59 +03:00
|
|
|
Library neofs_verbs.py
|
2022-05-06 12:53:02 +03:00
|
|
|
Library storage_group.py
|
2022-03-15 14:58:59 +03:00
|
|
|
Library Collections
|
2021-06-01 15:07:31 +03:00
|
|
|
|
2021-02-12 00:34:44 +03:00
|
|
|
Resource common_steps_object.robot
|
2021-12-09 13:58:51 +03:00
|
|
|
Resource setup_teardown.robot
|
|
|
|
Resource payment_operations.robot
|
2022-05-06 12:53:02 +03:00
|
|
|
Resource storage_group.robot
|
2021-02-12 00:34:44 +03:00
|
|
|
|
2022-03-15 14:58:59 +03:00
|
|
|
*** Variables ***
|
2022-05-06 12:53:02 +03:00
|
|
|
@{UNEXIST_OID} = B2DKvkHnLnPvapbDgfpU1oVUPuXQo5LTfKVxmNDZXQff
|
2022-03-15 14:58:59 +03:00
|
|
|
|
2021-02-12 00:34:44 +03:00
|
|
|
*** Test cases ***
|
2021-02-16 14:56:52 +03:00
|
|
|
NeoFS Complex Storagegroup
|
2021-02-12 00:34:44 +03:00
|
|
|
[Documentation] Testcase to validate NeoFS operations with Storagegroup.
|
2022-03-15 14:58:59 +03:00
|
|
|
[Tags] Object
|
2021-02-12 00:34:44 +03:00
|
|
|
[Timeout] 20 min
|
|
|
|
|
2021-06-01 15:07:31 +03:00
|
|
|
[Setup] Setup
|
2021-04-26 13:30:40 +03:00
|
|
|
|
2022-05-06 12:53:02 +03:00
|
|
|
${WALLET} ${_} ${WIF} = Prepare Wallet And Deposit
|
|
|
|
${CID} = Prepare container ${WIF} ${WALLET}
|
2021-02-12 00:34:44 +03:00
|
|
|
|
2022-05-06 12:53:02 +03:00
|
|
|
${FILE} = Generate file of bytes ${COMPLEX_OBJ_SIZE}
|
2021-02-12 00:34:44 +03:00
|
|
|
|
2022-05-06 12:53:02 +03:00
|
|
|
${OID_1} = Put object ${WALLET} ${FILE} ${CID}
|
|
|
|
${OID_2} = Put object ${WALLET} ${FILE} ${CID}
|
2021-04-26 13:30:40 +03:00
|
|
|
|
2022-05-06 12:53:02 +03:00
|
|
|
@{ONE_OBJECT} = Create List ${OID_1}
|
|
|
|
@{TWO_OBJECTS} = Create List ${OID_1} ${OID_2}
|
2021-04-26 13:30:40 +03:00
|
|
|
|
2022-05-06 12:53:02 +03:00
|
|
|
Run Storage Group Operations And Expect Success
|
|
|
|
... ${WALLET} ${CID} ${ONE_OBJECT} Complex
|
2021-02-12 00:34:44 +03:00
|
|
|
|
2022-05-06 12:53:02 +03:00
|
|
|
Run Storage Group Operations And Expect Success
|
|
|
|
... ${WALLET} ${CID} ${TWO_OBJECTS} Complex
|
2021-02-12 00:34:44 +03:00
|
|
|
|
2021-04-26 13:30:40 +03:00
|
|
|
Run Keyword And Expect Error *
|
2022-05-06 12:53:02 +03:00
|
|
|
... Put Storagegroup ${WALLET} ${CID} ${UNEXIST_OID}
|
2021-04-26 13:30:40 +03:00
|
|
|
Run Keyword And Expect Error *
|
2022-05-06 12:53:02 +03:00
|
|
|
... Delete Storagegroup ${WALLET} ${CID} ${UNEXIST_OID}
|
2021-02-12 00:34:44 +03:00
|
|
|
|
2021-06-01 15:07:31 +03:00
|
|
|
[Teardown] Teardown object_storage_group_complex
|