Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
pacemaker.34780
0001-Test-cts-fencing-update-expected-total-tim...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Test-cts-fencing-update-expected-total-timeouts.patch of Package pacemaker.34780
From e502c9d8127e023bbb02b46241ce8e4283c40350 Mon Sep 17 00:00:00 2001 From: Ken Gaillot <kgaillot@redhat.com> Date: Thu, 12 May 2022 15:19:06 -0500 Subject: [PATCH] Test: cts-fencing: update expected total timeouts should have been done with c8f12f7e --- cts/cts-fencing.in | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) Index: pacemaker-2.1.2+20211124.ada5c3b36/cts/cts-fencing.in =================================================================== --- pacemaker-2.1.2+20211124.ada5c3b36.orig/cts/cts-fencing.in +++ pacemaker-2.1.2+20211124.ada5c3b36/cts/cts-fencing.in @@ -671,7 +671,7 @@ class Tests(object): '--output-as=xml -R false2 -a fence_dummy -o "mode=fail" -o "pcmk_host_list=node3" -o "pcmk_off_timeout=4"') test.add_cmd("stonith_admin", "--output-as=xml -F node3 -t 5") # timeout is 5+1+4 = 10 - test.add_stonith_log_pattern("Total timeout set to 10") + test.add_stonith_log_pattern("Total timeout set to 12") # custom timeout _WITH_ topology test = self.new_test("cpg_custom_timeout_2", @@ -687,7 +687,7 @@ class Tests(object): test.add_cmd("stonith_admin", "--output-as=xml -r node3 -i 3 -v false2") test.add_cmd("stonith_admin", "--output-as=xml -F node3 -t 5") # timeout is 5+1+4000 = 4006 - test.add_stonith_log_pattern("Total timeout set to 4006") + test.add_stonith_log_pattern("Total timeout set to 4807") def build_fence_merge_tests(self): """ Register tests to verify when fence operations should be merged """ @@ -799,7 +799,7 @@ class Tests(object): "--output-as=xml -R false3 -a fence_dummy -o \"mode=fail\" -o \"pcmk_host_list=node1 node2 node3\"") if test_type["use_cpg"] == 1: test.add_expected_fail_cmd("stonith_admin", "--output-as=xml -F node3 -t 2", CrmExit.TIMEOUT) - test.add_stonith_log_pattern("Total timeout set to 6") + test.add_stonith_log_pattern("Total timeout set to 7") else: test.add_expected_fail_cmd("stonith_admin", "--output-as=xml -F node3 -t 2", CrmExit.ERROR) @@ -821,7 +821,7 @@ class Tests(object): test.add_cmd("stonith_admin", "--output-as=xml -F node3 -t 5") if test_type["use_cpg"] == 1: - test.add_stonith_log_pattern("Total timeout set to 15") + test.add_stonith_log_pattern("Total timeout set to 18") # test what happens when we try to use a missing fence-agent. for test_type in test_types: @@ -848,7 +848,7 @@ class Tests(object): test.add_cmd("stonith_admin", "--output-as=xml -r node3 -i 1 -v true") test.add_cmd("stonith_admin", "--output-as=xml -F node3 -t 5") - test.add_stonith_log_pattern("Total timeout set to 5") + test.add_stonith_log_pattern("Total timeout set to 6") test.add_stonith_log_pattern("targeting node3 using true returned 0") @@ -866,7 +866,7 @@ class Tests(object): test.add_cmd("stonith_admin", "--output-as=xml -d node3 -i 1") test.add_cmd("stonith_admin", "--output-as=xml -F node3 -t 5") - test.add_stonith_log_pattern("Total timeout set to 5") + test.add_stonith_log_pattern("Total timeout set to 6") test.add_stonith_log_pattern("targeting node3 using true returned 0") # test what happens when the first fencing level has multiple devices. @@ -885,7 +885,7 @@ class Tests(object): test.add_cmd("stonith_admin", "--output-as=xml -r node3 -i 2 -v true") test.add_cmd("stonith_admin", "--output-as=xml -F node3 -t 20") - test.add_stonith_log_pattern("Total timeout set to 40") + test.add_stonith_log_pattern("Total timeout set to 48") test.add_stonith_log_pattern("targeting node3 using false returned -201") test.add_stonith_log_pattern("targeting node3 using true returned 0") @@ -919,7 +919,7 @@ class Tests(object): test.add_cmd("stonith_admin", "--output-as=xml -F node3 -t 3") - test.add_stonith_log_pattern("Total timeout set to 18") + test.add_stonith_log_pattern("Total timeout set to 21") test.add_stonith_log_pattern("targeting node3 using false1 returned -201") test.add_stonith_log_pattern("targeting node3 using false2 returned -201") test.add_stonith_log_pattern("targeting node3 using true3 returned 0") @@ -986,7 +986,7 @@ class Tests(object): test.add_cmd("stonith_admin", "--output-as=xml -F node3 -t 20") - test.add_stonith_log_pattern("Total timeout set to 8") + test.add_stonith_log_pattern("Total timeout set to 96") test.add_stonith_log_pattern("targeting node3 using false1 returned -201") test.add_stonith_neg_log_pattern("targeting node3 using false2 returned ") test.add_stonith_log_pattern("targeting node3 using true3 returned 0")
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor