Skip to content

Commit

Permalink
test(volgroup_vgpattern_bdd): adding feature file
Browse files Browse the repository at this point in the history
Signed-off-by: Abhilash Shetty <[email protected]>
  • Loading branch information
abhilashshetty04 committed Jun 17, 2024
1 parent 9c7079c commit c58a145
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions tests/bdd/volgroup_vgpattern_bdd.feature
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,31 @@ Feature: Validate vgpattern and volgroup based scheduling.
| node2 | lvmvg | 1G |
| node3 | lvmvgdiff | 1G |

Background:

Given a 3 lvmnode cluster is configured
And each lvm node <node> has <vg> and <vg1> with <size> and <size1> respectively

Scenario: test sc with volgroup present on 2 nodeswith varying free space and allowed topology
Given a sc is created volgroup “lvmvg“ using WaitForFirstConsumer as binding mode
And pvc is created with size “1.5G“
Then lvmvolume and pv should not be created
When an app is created referring the pvc
Then App should be running
And pvc should Bound
And lvmvolume should be Ready
And lvmvolume should have owner as “node-2“
And lvmvolume should be on vg “lvmvg“

Examples:

| node | vg | size | vg1 | size1 |

| node1 | lvmvg | 1G | lvmvg1 | 2G |

| node2 | lvmvg | 1.6G | lvmvg1 | 2G |

| node3 | lvmvg | 1G | lvmvg1 | 2G |

Background:

Expand Down

0 comments on commit c58a145

Please sign in to comment.