From 4e7165505b9652f221ca03b3ed530f2e9d1c5d5e Mon Sep 17 00:00:00 2001 From: xin liang Date: Wed, 9 Aug 2023 10:22:03 +0800 Subject: [PATCH] Dev: behave: Add functional test for previous change --- test/features/bootstrap_bugs.feature | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/features/bootstrap_bugs.feature b/test/features/bootstrap_bugs.feature index 6e2dcc6508..3f252b6e0c 100644 --- a/test/features/bootstrap_bugs.feature +++ b/test/features/bootstrap_bugs.feature @@ -132,6 +132,20 @@ Feature: Regression test for bootstrap bugs When Run "crm cluster stop" on "hanode1" Then Service "corosync" is "stopped" on "hanode1" + @clean + Scenario: Can't stop all nodes' cluster service when local node's service is down(bsc#1213889) + Given Cluster service is "stopped" on "hanode1" + And Cluster service is "stopped" on "hanode2" + When Run "crm cluster init -y" on "hanode1" + Then Cluster service is "started" on "hanode1" + When Run "crm cluster join -c hanode1 -y" on "hanode2" + Then Cluster service is "started" on "hanode2" + When Wait for DC + And Run "crm cluster stop" on "hanode1" + And Run "crm cluster stop --all" on "hanode1" + Then Cluster service is "stopped" on "hanode1" + And Cluster service is "stopped" on "hanode2" + @skip_non_root @clean Scenario: crm cluster join default behavior change in ssh key handling (bsc#1210693)