forked from TrueCloudLab/frostfs-testcases
nspcc-dev/neofs-testcases#143: error message extended
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
This commit is contained in:
parent
51b376d2bf
commit
e14ba001a9
2 changed files with 10 additions and 12 deletions
|
@ -9,8 +9,7 @@ Library Process
|
||||||
Drop object
|
Drop object
|
||||||
[Arguments] ${NODE} ${WIF_STORAGE} ${CID} ${OID}
|
[Arguments] ${NODE} ${WIF_STORAGE} ${CID} ${OID}
|
||||||
|
|
||||||
${DROP_SIMPLE} = Run Process neofs-cli control drop-objects --endpoint ${NODE} --wif ${WIF_STORAGE} -o ${CID}/${OID} shell=True
|
${DROP_SIMPLE} = Run Process neofs-cli control drop-objects --rpc-endpoint ${NODE} --wif ${WIF_STORAGE} -o ${CID}/${OID}
|
||||||
Log Many stdout: ${DROP_SIMPLE.stdout} stderr: ${DROP_SIMPLE.stderr}
|
... shell=True
|
||||||
Should Be Equal As Integers ${DROP_SIMPLE.rc} 0
|
Log Many stdout: ${DROP_SIMPLE.stdout} stderr: ${DROP_SIMPLE.stderr}
|
||||||
|
Should Be Equal As Integers ${DROP_SIMPLE.rc} 0 Got non-zero return code from CLI
|
||||||
|
|
||||||
|
|
|
@ -27,17 +27,17 @@ eACL Deny Replication Operations
|
||||||
|
|
||||||
[Setup] Setup
|
[Setup] Setup
|
||||||
|
|
||||||
${NODE_NUM} ${NODE} ${WIF_STORAGE} = Get control endpoint with wif
|
${NODE_NUM} ${NODE} ${WIF_STORAGE} = Get control endpoint with wif
|
||||||
${WALLET} ${ADDR} ${WIF_USER} = Prepare Wallet And Deposit
|
${WALLET} ${ADDR} ${WIF_USER} = Prepare Wallet And Deposit
|
||||||
|
|
||||||
Prepare eACL Role rules
|
Prepare eACL Role rules
|
||||||
|
|
||||||
Log Check Replication with eACL deny - object should be replicated
|
Log Check Replication with eACL deny - object should be replicated
|
||||||
# https://github.com/nspcc-dev/neofs-node/issues/881
|
# https://github.com/nspcc-dev/neofs-node/issues/881
|
||||||
|
|
||||||
${FILE} = Generate file of bytes ${SIMPLE_OBJ_SIZE}
|
${FILE} = Generate file of bytes ${SIMPLE_OBJ_SIZE}
|
||||||
|
|
||||||
${CID} = Create container ${WIF_USER} 0x0FFFFFFF ${FULL_PLACEMENT_RULE}
|
${CID} = Create container ${WIF_USER} 0x0FFFFFFF ${FULL_PLACEMENT_RULE}
|
||||||
Wait Until Keyword Succeeds ${MORPH_BLOCK_TIME} ${CONTAINER_WAIT_INTERVAL}
|
Wait Until Keyword Succeeds ${MORPH_BLOCK_TIME} ${CONTAINER_WAIT_INTERVAL}
|
||||||
... Container Existing ${WIF_USER} ${CID}
|
... Container Existing ${WIF_USER} ${CID}
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ eACL Deny Replication Operations
|
||||||
|
|
||||||
Run Keyword And Expect Error *
|
Run Keyword And Expect Error *
|
||||||
... Put object ${WIF_USER} ${FILE} ${CID} ${EMPTY} ${FILE_USR_HEADER}
|
... Put object ${WIF_USER} ${FILE} ${CID} ${EMPTY} ${FILE_USR_HEADER}
|
||||||
|
|
||||||
# Drop object to check replication
|
# Drop object to check replication
|
||||||
Drop object ${NODE} ${WIF_STORAGE} ${CID} ${OID}
|
Drop object ${NODE} ${WIF_STORAGE} ${CID} ${OID}
|
||||||
|
|
||||||
|
@ -60,4 +60,3 @@ eACL Deny Replication Operations
|
||||||
... Validate storage policy for object ${WIF_STORAGE} ${EXPECTED_COPIES} ${CID} ${OID}
|
... Validate storage policy for object ${WIF_STORAGE} ${EXPECTED_COPIES} ${CID} ${OID}
|
||||||
|
|
||||||
[Teardown] Teardown acl_deny_replication
|
[Teardown] Teardown acl_deny_replication
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue