You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/features/migration.feature
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Feature: migration
10
10
And Run "crm cluster init -y -N hanode2" OK on "hanode1"
11
11
When Try "crm cluster health sles16" on "hanode1"
12
12
Then Expected return code is "1"
13
-
And Expect stdout contains snippets ["[WARN] Corosync transport \"udpu\" will be deprecated in corosync 3.", "[FAIL] Please fix all the \"FAIL\" problems above before migrating to SLES 16.", "----- localhost -----", "----- hanode2 -----"].
13
+
And Expect stdout contains snippets ["[WARN] Corosync transport \"udpu\" will be deprecated in corosync 3.", "[FAIL] The pacemaker cluster stack can not migrate to SLES 16. Please fix all the \"FAIL\" problems above before migrating to SLES 16.", "----- corosync @ localhost -----", "----- corosync @ hanode2 -----"].
14
14
15
15
Scenario: Should not run fixes.
16
16
When Try "crm cluster health sles16 --fix" on "hanode1"
@@ -21,10 +21,10 @@ Feature: migration
21
21
When Run "crm cluster stop --all" on "hanode1"
22
22
And Try "crm cluster health sles16" on "hanode1"
23
23
Then Expected return code is "1"
24
-
And Expect stdout contains snippets ["Check results may be outdated or inaccurate.", "[WARN] Corosync transport \"udpu\" will be deprecated in corosync 3.", "[FAIL] Please fix all the \"FAIL\" problems above before migrating to SLES 16.", "----- localhost -----", "----- hanode2 -----"].
24
+
And Expect stdout contains snippets ["Check results may be outdated or inaccurate.", "[WARN] Corosync transport \"udpu\" will be deprecated in corosync 3.", "[FAIL] The pacemaker cluster stack can not migrate to SLES 16. Please fix all the \"FAIL\" problems above before migrating to SLES 16.", "----- corosync @ localhost -----", "----- corosync @ hanode2 -----"].
25
25
26
26
Scenario: Run pre-migration checks when some of the nodes are offline.
27
27
When Run "systemctl stop sshd" on "hanode2"
28
28
And Try "crm cluster health sles16" on "hanode1"
29
29
Then Expected return code is "1"
30
-
And Expect stdout contains snippets ["Cannot create SSH connection to", "[FAIL] Please fix all the \"FAIL\" problems above before migrating to SLES 16.", "----- localhost -----", "----- hanode2 -----"].
30
+
And Expect stdout contains snippets ["Cannot create SSH connection to", "[FAIL] The pacemaker cluster stack can not migrate to SLES 16. Please fix all the \"FAIL\" problems above before migrating to SLES 16.", "----- corosync @ localhost -----", "----- corosync @ hanode2 -----"].
0 commit comments