Skip to content

Commit

Permalink
Dev: behave: adjust test cases for better coverage of `crm cluster in…
Browse files Browse the repository at this point in the history
…it -N`
  • Loading branch information
nicholasyang2022 committed Oct 31, 2023
1 parent 03e8717 commit 8ea4031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/features/bootstrap_options.feature
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Feature: crmsh bootstrap process - options
"-u": Configure corosync to communicate over unicast
"-U": Configure corosync to communicate over multicast
Tag @clean means need to stop cluster service if the service is available
Need nodes: hanode1 hanode2
Need nodes: hanode1 hanode2 hanode3

@clean
Scenario: Check help output
Expand Down Expand Up @@ -39,7 +39,7 @@ Feature: crmsh bootstrap process - options
Scenario: Init whole cluster service on node "hanode1" using "--node" option
Given Cluster service is "stopped" on "hanode1"
And Cluster service is "stopped" on "hanode2"
When Run "crm cluster init -y --node "hanode1 hanode2"" on "hanode1"
When Run "crm cluster init -y --node "hanode1 hanode2 hanode3"" on "hanode1"
Then Cluster service is "started" on "hanode1"
And Cluster service is "started" on "hanode2"
And Online nodes are "hanode1 hanode2"
Expand Down

0 comments on commit 8ea4031

Please sign in to comment.