update devenv with morph support
This commit is contained in:
parent
7c5d2c22eb
commit
8c758ca773
1 changed files with 55 additions and 47 deletions
|
@ -25,16 +25,18 @@ NeoFS Simple Object Operations
|
|||
Wait Until Keyword Succeeds 1 min 15 sec
|
||||
... Transaction accepted in block ${TX}
|
||||
Get Transaction ${TX}
|
||||
${BALANCE} = Wait Until Keyword Succeeds 10 min 1 min
|
||||
... Get Balance ${PUB_KEY}
|
||||
Expected Balance ${PUB_KEY} 0 50
|
||||
# Due to develop branch with zero-payment for container and different blockchains for payment.
|
||||
# Temporarily removed.
|
||||
# ${BALANCE} = Wait Until Keyword Succeeds 10 min 1 min
|
||||
# ... Get Balance ${PUB_KEY}
|
||||
# Expected Balance ${PUB_KEY} 0 50
|
||||
${CID} = Create container ${PRIV_KEY}
|
||||
Container Existing ${PRIV_KEY} ${CID}
|
||||
# Due to develop branch with zero-payment for container and different blockchains for payment.
|
||||
# Fail will be ignored temporarily.
|
||||
Run Keyword And Ignore Error
|
||||
... Wait Until Keyword Succeeds 2 min 30 sec
|
||||
... Expected Balance ${PUB_KEY} ${BALANCE} -0.00001424
|
||||
# Fail will be ignored temporarily. Temporarily removed.
|
||||
# Run Keyword And Ignore Error
|
||||
# ... Wait Until Keyword Succeeds 2 min 30 sec
|
||||
# ... Expected Balance ${PUB_KEY} ${BALANCE} -0.00001424
|
||||
${FILE} = Generate file of bytes 1024
|
||||
${FILE_HASH} = Get file hash ${FILE}
|
||||
${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}
|
||||
Delete object ${PRIV_KEY} ${CID} ${S_OID}
|
||||
Verify Head tombstone ${PRIV_KEY} ${CID} ${S_OID}
|
||||
Wait Until Keyword Succeeds 2 min 30 sec
|
||||
... Search object ${PRIV_KEY} ${CID} ${EMPTY} @{EMPTY} &{ID_OBJ_S}
|
||||
|
||||
Run Keyword And Expect Error *
|
||||
... Get object from NeoFS ${PRIV_KEY} ${CID} ${S_OID} s_file_read_2
|
||||
# Removed due to tombstones zombies.
|
||||
# Wait Until Keyword Succeeds 2 min 30 sec
|
||||
# ... Search object ${PRIV_KEY} ${CID} ${EMPTY} @{EMPTY} &{ID_OBJ_S}
|
||||
# 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}
|
||||
Delete object ${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
|
||||
... 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
|
||||
|
||||
# Removed due to tombstones zombies.
|
||||
# Search object ${PRIV_KEY} ${CID} ${EMPTY} @{EMPTY} &{FILE_USR_HEADER}
|
||||
# Wait Until Keyword Succeeds 2 min 30 sec
|
||||
# ... 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}
|
||||
Delete object ${PRIV_KEY} ${CID} ${SGID}
|
||||
Verify Head tombstone ${PRIV_KEY} ${CID} ${SGID}
|
||||
Search object ${PRIV_KEY} ${CID} --sg @{EMPTY}
|
||||
Wait Until Keyword Succeeds 2 min 30 sec
|
||||
... Search object ${PRIV_KEY} ${CID} ${EMPTY} @{EMPTY} &{SGID_OBJ}
|
||||
Run Keyword And Expect Error *
|
||||
... Get object from NeoFS ${PRIV_KEY} ${CID} ${SGID} s_file_read_2
|
||||
# Removed due to tombstones zombies.
|
||||
# Search object ${PRIV_KEY} ${CID} --sg @{EMPTY}
|
||||
# Wait Until Keyword Succeeds 2 min 30 sec
|
||||
# ... Search object ${PRIV_KEY} ${CID} ${EMPTY} @{EMPTY} &{SGID_OBJ}
|
||||
# Run Keyword And Expect Error *
|
||||
# ... Get object from NeoFS ${PRIV_KEY} ${CID} ${SGID} s_file_read_2
|
||||
|
||||
Cleanup File ${FILE}
|
||||
Cleanup File s_file_read
|
||||
|
@ -107,16 +112,18 @@ NeoFS Complex Object Operations
|
|||
Wait Until Keyword Succeeds 1 min 15 sec
|
||||
... Transaction accepted in block ${TX}
|
||||
Get Transaction ${TX}
|
||||
${BALANCE} = Wait Until Keyword Succeeds 10 min 1 min
|
||||
... Get Balance ${PUB_KEY}
|
||||
Expected Balance ${PUB_KEY} 0 50
|
||||
# Due to develop branch with zero-payment for container and different blockchains for payment.
|
||||
# Temporarily removed.
|
||||
# ${BALANCE} = Wait Until Keyword Succeeds 10 min 1 min
|
||||
# ... Get Balance ${PUB_KEY}
|
||||
# Expected Balance ${PUB_KEY} 0 50
|
||||
${CID} = Create container ${PRIV_KEY}
|
||||
Container Existing ${PRIV_KEY} ${CID}
|
||||
# Due to develop branch with zero-payment for container and different blockchains for payment.
|
||||
# Fail will be ignored temporarily.
|
||||
Run Keyword And Ignore Error
|
||||
... Wait Until Keyword Succeeds 2 min 30 sec
|
||||
... Expected Balance ${PUB_KEY} ${BALANCE} -0.00001424
|
||||
# Run Keyword And Ignore Error
|
||||
# ... Wait Until Keyword Succeeds 2 min 30 sec
|
||||
# ... Expected Balance ${PUB_KEY} ${BALANCE} -0.00001424
|
||||
|
||||
${SIZE} = Set Variable 20e+6
|
||||
${FILE} = Generate file of bytes ${SIZE}
|
||||
|
@ -138,8 +145,6 @@ NeoFS Complex Object Operations
|
|||
@{S_OBJ_ALL} = Create List ${S_OID} ${H_OID} ${SGID}
|
||||
@{S_OBJ_H} = Create List ${H_OID}
|
||||
|
||||
|
||||
|
||||
Search object ${PRIV_KEY} ${CID} --sg @{S_OBJ_SG}
|
||||
Get storage group ${PRIV_KEY} ${CID} ${SGID}
|
||||
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}
|
||||
Delete object ${PRIV_KEY} ${CID} ${S_OID}
|
||||
Verify Head tombstone ${PRIV_KEY} ${CID} ${S_OID}
|
||||
Wait Until Keyword Succeeds 2 min 30 sec
|
||||
... Search object ${PRIV_KEY} ${CID} --root @{EMPTY} &{ID_OBJ_S}
|
||||
# Removed due to tombstones zombies.
|
||||
# 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}
|
||||
Delete object ${PRIV_KEY} ${CID} ${H_OID}
|
||||
Verify Head tombstone ${PRIV_KEY} ${CID} ${H_OID}
|
||||
Search object ${PRIV_KEY} ${CID} --root @{EMPTY} &{FILE_USR_HEADER}
|
||||
Wait Until Keyword Succeeds 2 min 30 sec
|
||||
... Search object ${PRIV_KEY} ${CID} --root @{EMPTY} &{ID_OBJ_H}
|
||||
Run Keyword And Expect Error *
|
||||
... Get object from NeoFS ${PRIV_KEY} ${CID} ${H_OID} s_file_read_2
|
||||
# Removed due to tombstones zombies.
|
||||
# Search object ${PRIV_KEY} ${CID} --root @{EMPTY} &{FILE_USR_HEADER}
|
||||
# Wait Until Keyword Succeeds 2 min 30 sec
|
||||
# ... Search object ${PRIV_KEY} ${CID} --root @{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}
|
||||
Delete object ${PRIV_KEY} ${CID} ${SGID}
|
||||
Verify Head tombstone ${PRIV_KEY} ${CID} ${SGID}
|
||||
Search object ${PRIV_KEY} ${CID} --sg @{EMPTY}
|
||||
Wait Until Keyword Succeeds 2 min 30 sec
|
||||
... Search object ${PRIV_KEY} ${CID} ${EMPTY} @{EMPTY} &{SGID_OBJ}
|
||||
Run Keyword And Expect Error *
|
||||
... Get object from NeoFS ${PRIV_KEY} ${CID} ${SGID} s_file_read_2
|
||||
# Removed due to tombstones zombies.
|
||||
# Search object ${PRIV_KEY} ${CID} --sg @{EMPTY}
|
||||
# Wait Until Keyword Succeeds 2 min 30 sec
|
||||
# ... Search object ${PRIV_KEY} ${CID} ${EMPTY} @{EMPTY} &{SGID_OBJ}
|
||||
# Run Keyword And Expect Error *
|
||||
# ... Get object from NeoFS ${PRIV_KEY} ${CID} ${SGID} s_file_read_2
|
||||
|
||||
Cleanup File ${FILE}
|
||||
Cleanup File s_file_read
|
||||
|
|
Loading…
Reference in a new issue