Maksim Myskov created HDDS-11503:
------------------------------------

             Summary: Add Robot test to verify Container Balancer for EC 
containers
                 Key: HDDS-11503
                 URL: https://issues.apache.org/jira/browse/HDDS-11503
             Project: Apache Ozone
          Issue Type: Test
          Components: test
            Reporter: Maksim Myskov
            Assignee: Anastasia Filippova
             Fix For: 1.5.0


Currently there are only unit tests for Container Balancer and no acceptance 
tests at all. At a minimum, we should add a Robot test to verify Container 
Balancer for RATIS containers. And probably in the future we should add robot 
test for EC case.

Test case:
1. Move 1 datanode to maintenance mode (we use 4 datanodes in this test)
2. Create multiple keys  (after loading the data, we check that 3 datanodes are 
~60% busy, and the one that is in maintenance mode is empty)
4. Start datanode recommission (wait until datanode recommissioning is 
completed)
5. Start container balancer (wait until container balancer is completed)
6. Check results (after balancing on all 4 datanodes, we should see 
approximately the same data distribution.)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to