Skip to content

Commit 48c55e1

Browse files
committed
Dev: behave: Adjust functional test for previous commits
1 parent d457b32 commit 48c55e1

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
@@ -131,6 +131,17 @@ Feature: corosync qdevice/qnetd setup/remove process
131131
And Service "corosync-qdevice" is "started" on "hanode1"
132132
And Show status from qnetd
133133

134+
@clean
135+
Scenario: Re-join cluster (bsc#1254243)
136+
When Run "crm cluster init --qnetd-hostname=qnetd-node -y" on "hanode1"
137+
When Run "crm cluster join -c hanode1 -y" on "hanode2"
138+
Then Service "corosync-qdevice" is "started" on "hanode1"
139+
And Service "corosync-qdevice" is "started" on "hanode2"
140+
When Run "crm cluster remove hanode1 -y" on "hanode2"
141+
Then Service "corosync-qdevice" is "stopped" on "hanode1"
142+
When Run "crm cluster join -c hanode2 -y" on "hanode1"
143+
Then Service "corosync-qdevice" is "started" on "hanode1"
144+
134145
@skip_non_root
135146
@clean
136147
Scenario: Passwordless for root, not for sudoer (bsc#1209193)

0 commit comments

Comments
 (0)