Merged feature/morph-support into master

This commit is contained in:
Anatoly Bogatyrev 2020-07-08 19:26:54 +03:00
commit 6b825855e8

View file

@ -25,16 +25,18 @@ NeoFS Simple Object Operations
Wait Until Keyword Succeeds 1 min 15 sec Wait Until Keyword Succeeds 1 min 15 sec
... Transaction accepted in block ${TX} ... Transaction accepted in block ${TX}
Get Transaction ${TX} Get Transaction ${TX}
${BALANCE} = Wait Until Keyword Succeeds 10 min 1 min # Due to develop branch with zero-payment for container and different blockchains for payment.
... Get Balance ${PUB_KEY} # Temporarily removed.
Expected Balance ${PUB_KEY} 0 50 # ${BALANCE} = Wait Until Keyword Succeeds 10 min 1 min
# ... Get Balance ${PUB_KEY}
# Expected Balance ${PUB_KEY} 0 50
${CID} = Create container ${PRIV_KEY} ${CID} = Create container ${PRIV_KEY}
Container Existing ${PRIV_KEY} ${CID} Container Existing ${PRIV_KEY} ${CID}
# Due to develop branch with zero-payment for container and different blockchains for payment. # Due to develop branch with zero-payment for container and different blockchains for payment.
# Fail will be ignored temporarily. # Fail will be ignored temporarily. Temporarily removed.
Run Keyword And Ignore Error # Run Keyword And Ignore Error
... Wait Until Keyword Succeeds 2 min 30 sec # ... Wait Until Keyword Succeeds 2 min 30 sec
... Expected Balance ${PUB_KEY} ${BALANCE} -0.00001424 # ... Expected Balance ${PUB_KEY} ${BALANCE} -0.00001424
${FILE} = Generate file of bytes 1024 ${FILE} = Generate file of bytes 1024
${FILE_HASH} = Get file hash ${FILE} ${FILE_HASH} = Get file hash ${FILE}
${S_OID} = Put object to NeoFS ${PRIV_KEY} ${FILE} ${CID} ${S_OID} = Put object to NeoFS ${PRIV_KEY} ${FILE} ${CID}
@ -64,29 +66,32 @@ NeoFS Simple Object Operations
&{ID_OBJ_S} = Create Dictionary ID=${S_OID} &{ID_OBJ_S} = Create Dictionary ID=${S_OID}
Delete object ${PRIV_KEY} ${CID} ${S_OID} Delete object ${PRIV_KEY} ${CID} ${S_OID}
Verify Head tombstone ${PRIV_KEY} ${CID} ${S_OID} Verify Head tombstone ${PRIV_KEY} ${CID} ${S_OID}
Wait Until Keyword Succeeds 2 min 30 sec # Removed due to tombstones zombies.
... Search object ${PRIV_KEY} ${CID} ${EMPTY} @{EMPTY} &{ID_OBJ_S} # Wait Until Keyword Succeeds 2 min 30 sec
# ... Search object ${PRIV_KEY} ${CID} ${EMPTY} @{EMPTY} &{ID_OBJ_S}
Run Keyword And Expect Error * # Run Keyword And Expect Error *
... Get object from NeoFS ${PRIV_KEY} ${CID} ${S_OID} s_file_read_2 # ... Get object from NeoFS ${PRIV_KEY} ${CID} ${S_OID} s_file_read_2
&{ID_OBJ_H} = Create Dictionary ID=${H_OID} &{ID_OBJ_H} = Create Dictionary ID=${H_OID}
Delete object ${PRIV_KEY} ${CID} ${H_OID} Delete object ${PRIV_KEY} ${CID} ${H_OID}
Verify Head tombstone ${PRIV_KEY} ${CID} ${H_OID} Verify Head tombstone ${PRIV_KEY} ${CID} ${H_OID}
Search object ${PRIV_KEY} ${CID} ${EMPTY} @{EMPTY} &{FILE_USR_HEADER}
Wait Until Keyword Succeeds 2 min 30 sec # Removed due to tombstones zombies.
... Search object ${PRIV_KEY} ${CID} ${EMPTY} @{EMPTY} &{ID_OBJ_H} # Search object ${PRIV_KEY} ${CID} ${EMPTY} @{EMPTY} &{FILE_USR_HEADER}
Run Keyword And Expect Error * # Wait Until Keyword Succeeds 2 min 30 sec
... Get object from NeoFS ${PRIV_KEY} ${CID} ${H_OID} s_file_read_2 # ... Search object ${PRIV_KEY} ${CID} ${EMPTY} @{EMPTY} &{ID_OBJ_H}
# Run Keyword And Expect Error *
# ... Get object from NeoFS ${PRIV_KEY} ${CID} ${H_OID} s_file_read_2
&{SGID_OBJ} = Create Dictionary ID=${SGID} &{SGID_OBJ} = Create Dictionary ID=${SGID}
Delete object ${PRIV_KEY} ${CID} ${SGID} Delete object ${PRIV_KEY} ${CID} ${SGID}
Verify Head tombstone ${PRIV_KEY} ${CID} ${SGID} Verify Head tombstone ${PRIV_KEY} ${CID} ${SGID}
Search object ${PRIV_KEY} ${CID} --sg @{EMPTY} # Removed due to tombstones zombies.
Wait Until Keyword Succeeds 2 min 30 sec # Search object ${PRIV_KEY} ${CID} --sg @{EMPTY}
... Search object ${PRIV_KEY} ${CID} ${EMPTY} @{EMPTY} &{SGID_OBJ} # Wait Until Keyword Succeeds 2 min 30 sec
Run Keyword And Expect Error * # ... Search object ${PRIV_KEY} ${CID} ${EMPTY} @{EMPTY} &{SGID_OBJ}
... Get object from NeoFS ${PRIV_KEY} ${CID} ${SGID} s_file_read_2 # Run Keyword And Expect Error *
# ... Get object from NeoFS ${PRIV_KEY} ${CID} ${SGID} s_file_read_2
Cleanup File ${FILE} Cleanup File ${FILE}
Cleanup File s_file_read Cleanup File s_file_read
@ -107,16 +112,18 @@ NeoFS Complex Object Operations
Wait Until Keyword Succeeds 1 min 15 sec Wait Until Keyword Succeeds 1 min 15 sec
... Transaction accepted in block ${TX} ... Transaction accepted in block ${TX}
Get Transaction ${TX} Get Transaction ${TX}
${BALANCE} = Wait Until Keyword Succeeds 10 min 1 min # Due to develop branch with zero-payment for container and different blockchains for payment.
... Get Balance ${PUB_KEY} # Temporarily removed.
Expected Balance ${PUB_KEY} 0 50 # ${BALANCE} = Wait Until Keyword Succeeds 10 min 1 min
# ... Get Balance ${PUB_KEY}
# Expected Balance ${PUB_KEY} 0 50
${CID} = Create container ${PRIV_KEY} ${CID} = Create container ${PRIV_KEY}
Container Existing ${PRIV_KEY} ${CID} Container Existing ${PRIV_KEY} ${CID}
# Due to develop branch with zero-payment for container and different blockchains for payment. # Due to develop branch with zero-payment for container and different blockchains for payment.
# Fail will be ignored temporarily. # Fail will be ignored temporarily.
Run Keyword And Ignore Error # Run Keyword And Ignore Error
... Wait Until Keyword Succeeds 2 min 30 sec # ... Wait Until Keyword Succeeds 2 min 30 sec
... Expected Balance ${PUB_KEY} ${BALANCE} -0.00001424 # ... Expected Balance ${PUB_KEY} ${BALANCE} -0.00001424
${SIZE} = Set Variable 20e+6 ${SIZE} = Set Variable 20e+6
${FILE} = Generate file of bytes ${SIZE} ${FILE} = Generate file of bytes ${SIZE}
@ -124,8 +131,8 @@ NeoFS Complex Object Operations
${S_OID} = Put object to NeoFS ${PRIV_KEY} ${FILE} ${CID} ${S_OID} = Put object to NeoFS ${PRIV_KEY} ${FILE} ${CID}
${H_OID} = Put object to NeoFS ${PRIV_KEY} ${FILE} ${CID} &{FILE_USR_HEADER} ${H_OID} = Put object to NeoFS ${PRIV_KEY} ${FILE} ${CID} &{FILE_USR_HEADER}
@{Link_obj_S} = Verify linked objects ${PRIV_KEY} ${CID} ${S_OID} ${SIZE} @{Link_obj_S} = Verify linked objects ${PRIV_KEY} ${CID} ${S_OID} ${SIZE}
@{Link_obj_H} = Verify linked objects ${PRIV_KEY} ${CID} ${H_OID} ${SIZE} @{Link_obj_H} = Verify linked objects ${PRIV_KEY} ${CID} ${H_OID} ${SIZE}
@{Full_obj_list} = Create List @{Link_obj_S} @{Link_obj_H} ${S_OID} ${H_OID} @{Full_obj_list} = Create List @{Link_obj_S} @{Link_obj_H} ${S_OID} ${H_OID}
Search object ${PRIV_KEY} ${CID} ${EMPTY} @{Full_obj_list} Search object ${PRIV_KEY} ${CID} ${EMPTY} @{Full_obj_list}
@ -138,8 +145,6 @@ NeoFS Complex Object Operations
@{S_OBJ_ALL} = Create List ${S_OID} ${H_OID} ${SGID} @{S_OBJ_ALL} = Create List ${S_OID} ${H_OID} ${SGID}
@{S_OBJ_H} = Create List ${H_OID} @{S_OBJ_H} = Create List ${H_OID}
Search object ${PRIV_KEY} ${CID} --sg @{S_OBJ_SG} Search object ${PRIV_KEY} ${CID} --sg @{S_OBJ_SG}
Get storage group ${PRIV_KEY} ${CID} ${SGID} Get storage group ${PRIV_KEY} ${CID} ${SGID}
Get object from NeoFS ${PRIV_KEY} ${CID} ${S_OID} s_file_read Get object from NeoFS ${PRIV_KEY} ${CID} ${S_OID} s_file_read
@ -159,29 +164,32 @@ NeoFS Complex Object Operations
&{ID_OBJ_S} = Create Dictionary ID=${S_OID} &{ID_OBJ_S} = Create Dictionary ID=${S_OID}
Delete object ${PRIV_KEY} ${CID} ${S_OID} Delete object ${PRIV_KEY} ${CID} ${S_OID}
Verify Head tombstone ${PRIV_KEY} ${CID} ${S_OID} Verify Head tombstone ${PRIV_KEY} ${CID} ${S_OID}
Wait Until Keyword Succeeds 2 min 30 sec # Removed due to tombstones zombies.
... Search object ${PRIV_KEY} ${CID} --root @{EMPTY} &{ID_OBJ_S} # Wait Until Keyword Succeeds 2 min 30 sec
# ... Search object ${PRIV_KEY} ${CID} --root @{EMPTY} &{ID_OBJ_S}
# Run Keyword And Expect Error *
# ... Get object from NeoFS ${PRIV_KEY} ${CID} ${S_OID} s_file_read_2
Run Keyword And Expect Error *
... Get object from NeoFS ${PRIV_KEY} ${CID} ${S_OID} s_file_read_2
&{ID_OBJ_H} = Create Dictionary ID=${H_OID} &{ID_OBJ_H} = Create Dictionary ID=${H_OID}
Delete object ${PRIV_KEY} ${CID} ${H_OID} Delete object ${PRIV_KEY} ${CID} ${H_OID}
Verify Head tombstone ${PRIV_KEY} ${CID} ${H_OID} Verify Head tombstone ${PRIV_KEY} ${CID} ${H_OID}
Search object ${PRIV_KEY} ${CID} --root @{EMPTY} &{FILE_USR_HEADER} # Removed due to tombstones zombies.
Wait Until Keyword Succeeds 2 min 30 sec # Search object ${PRIV_KEY} ${CID} --root @{EMPTY} &{FILE_USR_HEADER}
... Search object ${PRIV_KEY} ${CID} --root @{EMPTY} &{ID_OBJ_H} # Wait Until Keyword Succeeds 2 min 30 sec
Run Keyword And Expect Error * # ... Search object ${PRIV_KEY} ${CID} --root @{EMPTY} &{ID_OBJ_H}
... Get object from NeoFS ${PRIV_KEY} ${CID} ${H_OID} s_file_read_2 # Run Keyword And Expect Error *
# ... Get object from NeoFS ${PRIV_KEY} ${CID} ${H_OID} s_file_read_2
&{SGID_OBJ} = Create Dictionary ID=${SGID} &{SGID_OBJ} = Create Dictionary ID=${SGID}
Delete object ${PRIV_KEY} ${CID} ${SGID} Delete object ${PRIV_KEY} ${CID} ${SGID}
Verify Head tombstone ${PRIV_KEY} ${CID} ${SGID} Verify Head tombstone ${PRIV_KEY} ${CID} ${SGID}
Search object ${PRIV_KEY} ${CID} --sg @{EMPTY} # Removed due to tombstones zombies.
Wait Until Keyword Succeeds 2 min 30 sec # Search object ${PRIV_KEY} ${CID} --sg @{EMPTY}
... Search object ${PRIV_KEY} ${CID} ${EMPTY} @{EMPTY} &{SGID_OBJ} # Wait Until Keyword Succeeds 2 min 30 sec
Run Keyword And Expect Error * # ... Search object ${PRIV_KEY} ${CID} ${EMPTY} @{EMPTY} &{SGID_OBJ}
... Get object from NeoFS ${PRIV_KEY} ${CID} ${SGID} s_file_read_2 # Run Keyword And Expect Error *
# ... Get object from NeoFS ${PRIV_KEY} ${CID} ${SGID} s_file_read_2
Cleanup File ${FILE} Cleanup File ${FILE}
Cleanup File s_file_read Cleanup File s_file_read