Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions hadoop-ozone/dist/src/main/smoketest/compatibility/om.robot
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,17 @@ Library BuiltIn
Resource ../lib/os.robot
Test Timeout 5 minutes

*** Test Cases ***
Picks up command line options
Pass Execution If '%{HDFS_OM_OPTS}' == '' Command-line option required for process check
*** Keywords ***
Check command-line options
${processes} = List All Processes
Should Contain ${processes} %{HDFS_OM_OPTS}
Should Contain ${processes} %{HADOOP_OPTS}

*** Test Cases ***
Picks up command line options
Pass Execution If '%{HDFS_OM_OPTS}' == '' Command-line option required for process check
Wait Until Keyword Succeeds 3min 2sec Check command-line options

Rejects Atomic Key Rewrite
Execute ozone freon ockg -n1 -t1 -p rewrite
${output} = Execute and check rc ozone sh key rewrite -t EC -r rs-3-2-1024k /vol1/bucket1/rewrite/0 255
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ Library BuiltIn
Resource ../lib/os.robot
Test Timeout 5 minutes

*** Keywords ***
Check command-line options
${processes} = List All Processes
Should Contain ${processes} %{HADOOP_OPTS}

*** Test Cases ***
Picks up command line options
Pass Execution If '%{HADOOP_OPTS}' == '' Command-line option required for process check
${processes} = List All Processes
Should Contain ${processes} %{HADOOP_OPTS}
Wait Until Keyword Succeeds 3min 2sec Check command-line options