forked from TrueCloudLab/frostfs-testcases
Fix config file in accounting test
Instead of `rpc`, v0.26.0 requires `rpc-endpoint`. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
6bff5f12e3
commit
9607396894
1 changed files with 4 additions and 4 deletions
|
@ -47,7 +47,7 @@ CLI Accounting Balance Test
|
||||||
Should Be Equal As Numbers ${OUTPUT.rc} 1
|
Should Be Equal As Numbers ${OUTPUT.rc} 1
|
||||||
|
|
||||||
# Getting balance with control API
|
# Getting balance with control API
|
||||||
${CONFIG_PATH} = Write Control API Config ${NEOFS_ENDPOINT} ${WIF}
|
${CONFIG_PATH} = Write API Config ${NEOFS_ENDPOINT} ${WIF}
|
||||||
${OUTPUT} = Run Process neofs-cli accounting balance --config ${CONFIG_PATH}
|
${OUTPUT} = Run Process neofs-cli accounting balance --config ${CONFIG_PATH}
|
||||||
... shell=True
|
... shell=True
|
||||||
Should Be Equal As Numbers ${OUTPUT.stdout} ${DEPOSIT_AMOUNT}
|
Should Be Equal As Numbers ${OUTPUT.stdout} ${DEPOSIT_AMOUNT}
|
||||||
|
@ -62,11 +62,11 @@ CLI Accounting Balance Test
|
||||||
|
|
||||||
*** Keywords ***
|
*** Keywords ***
|
||||||
|
|
||||||
Write Control API Config
|
Write API Config
|
||||||
[Documentation] Write YAML config for requesting NeoFS Control API via CLI
|
[Documentation] Write YAML config for requesting NeoFS API via CLI
|
||||||
[Arguments] ${ENDPOINT} ${WIF}
|
[Arguments] ${ENDPOINT} ${WIF}
|
||||||
|
|
||||||
Set Local Variable ${PATH} ${ASSETS_DIR}/config.yaml
|
Set Local Variable ${PATH} ${ASSETS_DIR}/config.yaml
|
||||||
Create File ${PATH} rpc: ${ENDPOINT}\nwif: ${WIF}
|
Create File ${PATH} rpc-endpoint: ${ENDPOINT}\nwif: ${WIF}
|
||||||
|
|
||||||
[Return] ${PATH}
|
[Return] ${PATH}
|
||||||
|
|
Loading…
Reference in a new issue