gluster / glusto-tests

Functional test framework for glusterfs.
GNU General Public License v3.0
19 stars 43 forks source link

[TestFix] Fix test_metadata_self_heal_on_open_fd #86

Closed pranavprakash20 closed 3 years ago

pranavprakash20 commented 3 years ago

Problem: Method "get_heal_info_summary" returns dict with 'hostnames' as keys in CI env and in the test we are using 'bricks_list' items, which contains ip addr for accessing the above dict. This causes the test to fail with 'KeyError' in CI env

Solution: Change the logic to append hostnames in 'bricks_list' instead of ip addr

Signed-off-by: Pranav prprakas@redhat.com