Skip to content

Commit b2cb065

Browse files
committed
Dev: behave: Adjust functional test for previous commits
1 parent d0217a7 commit b2cb065

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
@@ -200,3 +200,14 @@ Feature: corosync qdevice/qnetd setup/remove process
200200
Then Service "corosync-qdevice" is "started" on "hanode2"
201201
And Service "corosync-qdevice" is "started" on "hanode3"
202202
And Service "corosync-qnetd" is "started" on "qnetd-node"
203+
204+
@clean
205+
Scenario: Re-join cluster (bsc#1254243)
206+
When Run "crm cluster init --qnetd-hostname=qnetd-node -y" on "hanode1"
207+
When Run "crm cluster join -c hanode1 -y" on "hanode2"
208+
Then Service "corosync-qdevice" is "started" on "hanode1"
209+
And Service "corosync-qdevice" is "started" on "hanode2"
210+
When Run "crm cluster remove hanode1 -y" on "hanode2"
211+
Then Service "corosync-qdevice" is "stopped" on "hanode1"
212+
When Run "crm cluster join -c hanode2 -y" on "hanode1"
213+
Then Service "corosync-qdevice" is "started" on "hanode1"

0 commit comments

Comments
 (0)