gluster / glusto-tests

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

[Testfix] Fix tier1 test case failures #52

Closed kshithijiyer closed 3 years ago

kshithijiyer commented 3 years ago

Problems:

test_self_heal_with_link_files.py fails as granular entry heal creates a directory which causes aqreual-checksum mismatch.

test_brick_full_add_brick_rebalance.py fails with fallocate: fallocate failed: No space left on device which happens as the volume gets filled quicker than expected.

test_rebalance_add_brick_command.py fails with disperse volumes as it runs expand_volume() till the bricks is exhausted.

test_snapshot_restore.py if not ret causes teardown failures even when the command was successful.

Fixes:

test_self_heal_with_link_files.py - Update to support granualar entry heal. test_brick_full_add_brick_rebalance.py - Modify code to not fail on I/O. test_rebalance_add_brick_command.py - Modify code to not run expand_volume 4 times. test_snapshot_restore.py - Change to if ret to fix tearDown failure

Signed-off-by: kshithijiyer kshithij.ki@gmail.com