Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
pacemaker.29834
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.29834
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.0.1+20190417.13d370ca9/cts/cts-fencing.in =================================================================== --- pacemaker-2.0.1+20190417.13d370ca9.orig/cts/cts-fencing.in +++ pacemaker-2.0.1+20190417.13d370ca9/cts/cts-fencing.in @@ -564,7 +564,7 @@ class Tests(object): '-R false2 -a fence_dummy -o "mode=fail" -o "pcmk_host_list=node3" -o "pcmk_off_timeout=4"') test.add_cmd("stonith_admin", "-F node3 -t 2") # timeout is 2+1+4 = 7 - test.add_stonith_log_pattern("Total timeout set to 7") + test.add_stonith_log_pattern("Total timeout set to 8") # custom timeout _WITH_ topology test = self.new_test("cpg_custom_timeout_2", @@ -580,7 +580,7 @@ class Tests(object): test.add_cmd("stonith_admin", "-r node3 -i 3 -v false2") test.add_cmd("stonith_admin", "-F node3 -t 2") # timeout is 2+1+4000 = 4003 - test.add_stonith_log_pattern("Total timeout set to 4003") + test.add_stonith_log_pattern("Total timeout set to 4803") def build_fence_merge_tests(self): """ Register tests to verify when fence operations should be merged """ @@ -692,7 +692,7 @@ class Tests(object): "-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", "-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", "-F node3 -t 2", CrmExit.ERROR) @@ -714,7 +714,7 @@ class Tests(object): test.add_cmd("stonith_admin", "-F node3 -t 2") if test_type["use_cpg"] == 1: - test.add_stonith_log_pattern("Total timeout set to 6") + test.add_stonith_log_pattern("Total timeout set to 7") # simple topology test for one device for test_type in test_types: @@ -765,7 +765,7 @@ class Tests(object): test.add_cmd("stonith_admin", "-r node3 -i 2 -v true") test.add_cmd("stonith_admin", "-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("for host 'node3' with device 'false' returned: -201") test.add_stonith_log_pattern("for host 'node3' with device 'true' returned: 0") @@ -799,7 +799,7 @@ class Tests(object): test.add_cmd("stonith_admin", "-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("for host 'node3' with device 'false1' returned: -201") test.add_stonith_log_pattern("for host 'node3' with device 'false2' returned: -201") test.add_stonith_log_pattern("for host 'node3' with device 'true3' returned: 0") @@ -866,7 +866,7 @@ class Tests(object): test.add_cmd("stonith_admin", "-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("for host 'node3' with device 'false1' returned: -201") test.add_stonith_neg_log_pattern("for host 'node3' with device 'false2' returned: ") test.add_stonith_log_pattern("for host 'node3' with device '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