frostfs-testcases/robot/resources/lib/storage.robot
Alex Vanin 51b376d2bf robot: Support neofs-cli v0.26.x
Latest version of neofs-cli uses `--endpoint`
key for control service.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-10-26 17:55:09 +03:00

16 lines
533 B
Text

*** Settings ***
Variables ../../variables/common.py
Library Process
*** Keywords ***
Drop object
[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
Log Many stdout: ${DROP_SIMPLE.stdout} stderr: ${DROP_SIMPLE.stderr}
Should Be Equal As Integers ${DROP_SIMPLE.rc} 0