Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
pacemaker.15719
bsc#1121808-0001-Test-cts-exec-still-run-the-te...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsc#1121808-0001-Test-cts-exec-still-run-the-tests-for-the-other-reso.patch of Package pacemaker.15719
From bddfb0d3373951be9a200c1b1968e7d925d7fa53 Mon Sep 17 00:00:00 2001 From: "Gao,Yan" <ygao@suse.com> Date: Fri, 11 Jan 2019 11:43:49 +0100 Subject: [PATCH] Test: cts-exec: still run the tests for the other resource classes even without python systemd bindings --- cts/cts-exec.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: pacemaker-1.1.18+20180430.b12c320f5/cts/cts-lrmd.in =================================================================== --- pacemaker-1.1.18+20180430.b12c320f5.orig/cts/cts-lrmd.in +++ pacemaker-1.1.18+20180430.b12c320f5/cts/cts-lrmd.in @@ -390,9 +390,9 @@ class Tests(object): # all systemd tests to fail. import systemd.daemon except ImportError: - print("Fatal error: python systemd bindings not found. Is package installed?", - file=sys.stderr) - sys.exit(CrmExit.ERROR) + print("Python systemd bindings not found.") + print("The tests for systemd class are not going to be run.") + self.rsc_classes.remove("systemd") print("Testing resource classes", repr(self.rsc_classes))
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