Create Pool test suite
Opened this issue · 0 comments
schakrava commented
Create a set of tests for operations on pool
Raid0 tests:
- Add pool with raid0, 2 disks -- should succeed
- Add pool with raid0, 0 disks -- check for appropriate error
- Add pool with raid0, 1 disk -- should succeed
- Add pool with raid0, 5 disks -- should succeed
Raid1 tests:
- Add pool with raid1
Raid10 tests:
- Add pool with raid10
Pool resize:
- Add one disk to an existing pool
- Add zero disks to an existing pool
Every add pool test should have a generic delete pool test to delete the pool, which should always succeed