forked from ClusterLabs/crmsh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev: ui_corosync: sync and reload corosync.conf after changes (jsc#PE…
…D-8083) Both updating link options and adding/removing links are hot reloadable. Updating the address of existing nodes is not hot reloadable.
- Loading branch information
1 parent
9e453a4
commit da37610
Showing
2 changed files
with
20 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,19 +35,14 @@ Feature: crm corosync ui test cases | |
When Run "crm corosync link update 0" on "hanode1" | ||
Then Expected "Nothing is updated." in stdout | ||
When Run "crm corosync link update 0 [email protected] [email protected] options knet_link_priority=10" on "hanode1" | ||
Then Expected "crm corosync diff" in stdout | ||
When Run "crm corosync diff" on "hanode1" | ||
Then Expected "knet_link_priority: 10" in stdout | ||
Then Expected "Please restart corosync.service in the cluster to apply the changes." in stdout | ||
Given Run "systemctl restart corosync.service" OK on "hanode1,hanode2" | ||
When Try "crm corosync link add [email protected] [email protected] options knet_link_priority=" on "hanode1" | ||
Then Expected "invalid option" in stderr | ||
When Run "crm corosync link add [email protected] [email protected] options knet_link_priority=11" on "hanode1" | ||
Then Expected "crm corosync diff" in stdout | ||
When Run "crm corosync diff" on "hanode1" | ||
Then Expected "linknumber: 1" in stdout | ||
Given Run "crm corosync link add [email protected] [email protected] options knet_link_priority=11" OK on "hanode1" | ||
When Try "crm corosync link update 1 [email protected]" on "hanode1" | ||
Then Expected "Duplicated" in stderr | ||
When Run "crm corosync link remove 1" on "hanode1" | ||
Then Expected "crm corosync diff" in stdout | ||
Given Run "crm corosync link remove 1" OK on "hanode1" | ||
When Try "crm corosync link add [email protected] [email protected]" on "hanode1" | ||
Then Expected "Duplicated" in stderr | ||
When Try "crm corosync link add hanode1=192.0.2.101 hanode2=192.0.2.102 options knet_link_priority=10" on "hanode1" | ||
|