diff options
author | kshithijiyer <kshithij.ki@gmail.com> | 2020-10-26 12:20:00 +0530 |
---|---|---|
committer | Arthy Loganathan <aloganat@redhat.com> | 2020-11-12 11:51:48 +0000 |
commit | 68f165c99b73958bf04cfa5f0fc75421b2e4bb9e (patch) | |
tree | b8b032ae24688444c733637b844026e2abf06073 /tests/functional/dht/test_exericse_rebalance_command.py | |
parent | 4280b12b69844d57c70c6a05916d79d778971463 (diff) |
[Test] Add tests for add brick with hard links and sticky bit
Scenarios:
----------
Test case 1:
1. Create a volume, start it and mount it using fuse.
2. Create 50 files on the mount point and create 50
hardlinks for the files.
3. After the files and hard links creation is complete,
add bricks to the volume and trigger rebalance on the
volume.
4. Wait for rebalance to complete and check if files are
skipped or not.
5. Trigger rebalance on the volume with force and repeat
step 4.
Test case 2:
1. Create a volume, start it and mount it using fuse.
2. Create 50 files on the mount point and set sticky bit
to the files.
3. After the files creation and sticky bit addition is
complete, add bricks to the volume and trigger rebalance
on the volume.
4. Wait for rebalance to complete.
5. Check for data corruption by comparing arequal before
and after.
Change-Id: I61bcf14185b0fe31b44e9d2b0a58671f21752633
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
Diffstat (limited to 'tests/functional/dht/test_exericse_rebalance_command.py')
0 files changed, 0 insertions, 0 deletions