* main - lvmdbustest: Skip test_singleton_daemon running systemd svc.
@ 2022-09-19 15:58 Tony Asleson
0 siblings, 0 replies; only message in thread
From: Tony Asleson @ 2022-09-19 15:58 UTC (permalink / raw)
To: lvm-devel
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=f65f7da76065b2e36920ae4f866e9e912f74dde2
Commit: f65f7da76065b2e36920ae4f866e9e912f74dde2
Parent: a5e6947d74f7b88f7f0df4328a923ad82a970634
Author: Tony Asleson <tasleson@redhat.com>
AuthorDate: Wed Aug 24 15:41:03 2022 -0500
Committer: Tony Asleson <tasleson@redhat.com>
CommitterDate: Fri Sep 16 10:49:37 2022 -0500
lvmdbustest: Skip test_singleton_daemon running systemd svc.
---
test/dbus/lvmdbustest.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/dbus/lvmdbustest.py b/test/dbus/lvmdbustest.py
index ba93379dc..772313246 100755
--- a/test/dbus/lvmdbustest.py
+++ b/test/dbus/lvmdbustest.py
@@ -2342,6 +2342,8 @@ class TestDbusService(unittest.TestCase):
# Ensure we can only have 1 daemon running at a time, daemon should exit with 114 if already running
di = DaemonInfo.get()
self.assertTrue(di is not None)
+ if di.systemd:
+ raise unittest.SkipTest('existing dameon running via systemd')
if di:
ec = di.start(True)
self.assertEqual(ec, 114)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-19 15:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-19 15:58 main - lvmdbustest: Skip test_singleton_daemon running systemd svc Tony Asleson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.