diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:48:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:48:59 +0000 |
commit | d835b2cae8abc71958b69362162e6a70c3d7ef63 (patch) | |
tree | 81052e3d2ce3e1bcda085f73d925e9d6257dec15 /test/features/constraints_bugs.feature | |
parent | Initial commit. (diff) | |
download | crmsh-upstream.tar.xz crmsh-upstream.zip |
Adding upstream version 4.6.0.upstream/4.6.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | test/features/constraints_bugs.feature | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/features/constraints_bugs.feature b/test/features/constraints_bugs.feature new file mode 100644 index 0000000..c1174d5 --- /dev/null +++ b/test/features/constraints_bugs.feature @@ -0,0 +1,24 @@ +@constraints +Feature: Verify constraints(order/colocation/location) bug + + Tag @clean means need to stop cluster service if the service is available + Need nodes: hanode1 hanode2 + + Background: Setup a two nodes cluster + 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" + And Show cluster status on "hanode1" + When Run "crm cluster join -c hanode1 -y" on "hanode2" + Then Cluster service is "started" on "hanode2" + And Online nodes are "hanode1 hanode2" + And Show cluster status on "hanode1" + + @clean + Scenario: Convert score to kind for rsc_order(bsc#1122391) + When Run "crm configure primitive d1 Dummy op monitor interval=10s" on "hanode1" + And Run "crm configure primitive d2 Dummy op monitor interval=10s" on "hanode1" + And Run "crm configure order o1 100: d1 d2" on "hanode1" + When Run "crm configure show" on "hanode1" + Then Expected "order o1 Mandatory: d1 d2" in stdout |