Skip to content

Commit

Permalink
Dev: behave: Add functional test for previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
liangxin1300 committed Aug 16, 2024
1 parent 6990656 commit c4f1f1c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/features/resource_set.feature
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,10 @@ Feature: Use "crm configure set" to update attributes and operations
When Run "crm configure rsc_template dummy_template ocf:pacemaker:Dummy op monitor interval=12s" on "hanode1"
And Try "crm configure primitive d8 @dummy_template params passwd=123" on "hanode1"
Then Expected "got no meta-data, does this RA exist" not in stderr

@clean
Scenario: Don't add time units to values for existing CIB (bsc#1228817)
When Run "crm configure show xml d > /tmp/d.xml" on "hanode1"
And Run "sed -i '/<op name="monitor"/s/timeout="20s"/timeout="20"/' /tmp/d.xml" on "hanode1"
And Run "crm configure load xml update /tmp/d.xml" on "hanode1"
Then Run "crm configure show d|grep -v "^xml <primitive"" OK on "hanode1"

0 comments on commit c4f1f1c

Please sign in to comment.