diff options
author | kshithijiyer <kshithij.ki@gmail.com> | 2020-12-29 11:08:31 +0530 |
---|---|---|
committer | Arthy Loganathan <aloganat@redhat.com> | 2021-01-18 05:07:50 +0000 |
commit | 7531b90f8f0e7eee410fb0270a5af12b7b29b7bf (patch) | |
tree | d79915bb3ddf8e47fb8ca6213b798c8205e2bd7c /tests/functional/snapshot/test_snapshot_restore.py | |
parent | 3ee1732cddf09375c7f27cf6b7560a9ebe4f938f (diff) |
[Test+Libfix] Add test to add brick followed by remove brick
Test case:
1. Create a volume, start it and mount it to a client.
2. Start I/O on volume.
3. Add brick and trigger rebalance, wait for rebalance to complete.
(The volume which was 1x3 should now be 2x3)
4. Add brick and trigger rebalance, wait for rebalance to complete.
(The volume which was 2x3 should now be 3x3)
5. Remove brick from volume such that it becomes a 2x3.
6. Remove brick from volume such that it becomes a 1x3.
7. Wait for I/O to complete and check for any input/output errors in
the logs of both the I/O and rebalance logs.
Additional library fix:
Adding `return True` at the end of is_layout_complete()
to return True if no issues found in layout.
Refernce BZ: #1726673
Change-Id: Ifd0360f948b334bfcf341c1015a731274acdb2bf
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
Diffstat (limited to 'tests/functional/snapshot/test_snapshot_restore.py')
0 files changed, 0 insertions, 0 deletions