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