Skip to content

Commit f2bdf87

Browse files
committed
Dev: behave: Adjust functional test for previous commits
1 parent 21aa3de commit f2bdf87

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/features/qdevice_setup_remove.feature

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,17 @@ Feature: corosync qdevice/qnetd setup/remove process
151151
And Service "corosync-qdevice" is "started" on "hanode1"
152152
And Show status from qnetd
153153

154+
@clean
155+
Scenario: Re-join cluster (bsc#1254243)
156+
When Run "crm cluster init --qnetd-hostname=qnetd-node -y" on "hanode1"
157+
When Run "crm cluster join -c hanode1 -y" on "hanode2"
158+
Then Service "corosync-qdevice" is "started" on "hanode1"
159+
And Service "corosync-qdevice" is "started" on "hanode2"
160+
When Run "crm cluster remove hanode1 -y" on "hanode2"
161+
Then Service "corosync-qdevice" is "stopped" on "hanode1"
162+
When Run "crm cluster join -c hanode2 -y" on "hanode1"
163+
Then Service "corosync-qdevice" is "started" on "hanode1"
164+
154165
@skip_non_root
155166
@clean
156167
Scenario: Passwordless for root, not for sudoer (bsc#1209193)

0 commit comments

Comments
 (0)