ChenSammi commented on code in PR #8239:
URL: https://github.com/apache/ozone/pull/8239#discussion_r2046385588
##########
hadoop-ozone/dist/src/main/smoketest/admincli/testdiskbalancer.robot:
##########
@@ -39,3 +45,13 @@ Check success with non-admin user for status and report
diskbalancer
Should Contain ${result}
Status result:
${result} = Execute ozone admin datanode
diskbalancer report
Should Contain ${result}
Report result:
+
+Check if balancer stops automatically
+ Run Keyword Kinit test user testuser
testuser.keytab
+ Execute ozone admin datanode diskbalancer start -a
+
+ # Wait until the balancer status contains "RUNNING", retry every 5s for up
to 1 min
+ Wait Until Keyword Succeeds 1 min 5 sec Check Balancer Status
RUNNING
+
+ # Wait until the balancer status contains "STOPPED", retry every 5s for up
to 2 min
+ Wait Until Keyword Succeeds 2 min 5 sec Check Balancer Status
STOPPED
Review Comment:
@Gargi-jais11 , please set the "service.interval" value of disk balancer
configuration to a small value in docker-config file for every compose
directory which will run this testdiskbalancer.robot, so we can wait a smaller
amount of time than 1m and 2m.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]