-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tests): add python tests for lvm volume
- add python tests for replica operations backed by lvm Signed-off-by: Tiago Castro <[email protected]> Co-authored-by: Akhil Mohan <[email protected]> Signed-off-by: Tiago Castro <[email protected]>
- Loading branch information
1 parent
fba64f9
commit 43eecf0
Showing
10 changed files
with
272 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Feature: LVM replica support | ||
|
||
Background: | ||
Given a mayastor instance "ms0" | ||
And an LVM VG backed pool called "lvmpool" | ||
|
||
Scenario: Creating an lvm volume on an imported lvm volume group | ||
When a user calls the createreplica on pool "lvmpool" | ||
Then an lv should be created on the lvmpool | ||
|
||
Scenario: Destroying a replica backed by lvm pool | ||
Given an LVM backed replica | ||
When a user calls destroy replica | ||
Then the replica gets destroyed | ||
|
||
Scenario: Listing replicas from either an LVS or LVM pool | ||
Given an LVS pool with a replica | ||
And an LVM backed replica | ||
When a user calls list replicas | ||
Then all replicas should be listed |
Oops, something went wrong.