frostfs-testcases/robot/resources/lib/robot/storage.robot
anastasia prasolova a56734ed93 part of [#194]
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-06-14 00:03:53 +03:00

16 lines
583 B
Text

*** Settings ***
Variables common.py
Library Process
*** Keywords ***
Drop object
[Arguments] ${NODE} ${WALLET_STORAGE} ${CID} ${OID}
${DROP_SIMPLE} = Run Process ${NEOFS_CLI_EXEC} control drop-objects --endpoint ${NODE} --wallet ${WALLET_STORAGE} --config ${WALLET_CONFIG} -o ${CID}/${OID}
... shell=True
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