Repository: hadoop Updated Branches: refs/heads/trunk eca1a4bfe -> c5bf43a8e
HDDS-406. Enable acceptace test of the putKey for rpc protocol. Contributed by Elek, Marton. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/c5bf43a8 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/c5bf43a8 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/c5bf43a8 Branch: refs/heads/trunk Commit: c5bf43a8e8aec595d1a8133cb0656778b252de89 Parents: eca1a4b Author: Anu Engineer <[email protected]> Authored: Thu Sep 6 15:08:46 2018 -0700 Committer: Anu Engineer <[email protected]> Committed: Thu Sep 6 15:09:21 2018 -0700 ---------------------------------------------------------------------- .../src/test/acceptance/basic/ozone-shell.robot | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/c5bf43a8/hadoop-ozone/acceptance-test/src/test/acceptance/basic/ozone-shell.robot ---------------------------------------------------------------------- diff --git a/hadoop-ozone/acceptance-test/src/test/acceptance/basic/ozone-shell.robot b/hadoop-ozone/acceptance-test/src/test/acceptance/basic/ozone-shell.robot index 4751841..ac538b2 100644 --- a/hadoop-ozone/acceptance-test/src/test/acceptance/basic/ozone-shell.robot +++ b/hadoop-ozone/acceptance-test/src/test/acceptance/basic/ozone-shell.robot @@ -27,27 +27,27 @@ ${PROJECTDIR} ${CURDIR}/../../../../../.. *** Test Cases *** RestClient without http port - Test ozone shell http:// ozoneManager restwoport True + Test ozone shell http:// ozoneManager restwoport RestClient with http port - Test ozone shell http:// ozoneManager:9874 restwport True + Test ozone shell http:// ozoneManager:9874 restwport RestClient without host name - Test ozone shell http:// ${EMPTY} restwohost True + Test ozone shell http:// ${EMPTY} restwohost RpcClient with port - Test ozone shell o3:// ozoneManager:9862 rpcwoport False + Test ozone shell o3:// ozoneManager:9862 rpcwoport RpcClient without host - Test ozone shell o3:// ${EMPTY} rpcwport False + Test ozone shell o3:// ${EMPTY} rpcwport RpcClient without scheme - Test ozone shell ${EMPTY} ${EMPTY} rpcwoscheme False + Test ozone shell ${EMPTY} ${EMPTY} rpcwoscheme *** Keywords *** Test ozone shell - [arguments] ${protocol} ${server} ${volume} ${withkeytest} + [arguments] ${protocol} ${server} ${volume} ${result} = Execute on datanode ozone oz -createVolume ${protocol}${server}/${volume} -user bilbo -quota 100TB -root Should not contain ${result} Failed Should contain ${result} Creating Volume: ${volume} @@ -69,7 +69,7 @@ Test ozone shell Should Be Equal ${result} USER ${result} = Execute on datanode ozone oz -listBucket ${protocol}${server}/${volume}/ | grep -Ev 'Removed|WARN|DEBUG|ERROR|INFO|TRACE' | jq -r '.[] | select(.bucketName=="bb1") | .volumeName' Should Be Equal ${result} ${volume} - Run Keyword and Return If ${withkeytest} Test key handling ${protocol} ${server} ${volume} + Run Keyword Test key handling ${protocol} ${server} ${volume} Execute on datanode ozone oz -deleteBucket ${protocol}${server}/${volume}/bb1 Execute on datanode ozone oz -deleteVolume ${protocol}${server}/${volume} -user bilbo --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
