mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvmdbustest: Move signals to last
When we do the signal testing we default back to fork & exec. Put these on the end to maximize our lvm shell testing until we fix this proper.
This commit is contained in:
parent
9fc24b1d3b
commit
ead80d134d
@ -2314,7 +2314,7 @@ class TestDbusService(unittest.TestCase):
|
|||||||
self.assertTrue('Job is not complete!' in str(e))
|
self.assertTrue('Job is not complete!' in str(e))
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
def test_sigint(self):
|
def test_z_sigint(self):
|
||||||
# Issue SIGINT while daemon is processing work to ensure we shut down.
|
# Issue SIGINT while daemon is processing work to ensure we shut down.
|
||||||
di = DaemonInfo.get()
|
di = DaemonInfo.get()
|
||||||
self.assertTrue(di is not None)
|
self.assertTrue(di is not None)
|
||||||
@ -2349,7 +2349,7 @@ class TestDbusService(unittest.TestCase):
|
|||||||
"Failed to exit after sending signal %f seconds after "
|
"Failed to exit after sending signal %f seconds after "
|
||||||
"queuing up work for signal %d" % (sleep_amt, signal.SIGINT))
|
"queuing up work for signal %d" % (sleep_amt, signal.SIGINT))
|
||||||
|
|
||||||
def test_singleton_daemon(self):
|
def test_z_singleton_daemon(self):
|
||||||
# Ensure we can only have 1 daemon running at a time, daemon should exit with 114 if already running
|
# Ensure we can only have 1 daemon running at a time, daemon should exit with 114 if already running
|
||||||
di = DaemonInfo.get()
|
di = DaemonInfo.get()
|
||||||
self.assertTrue(di is not None)
|
self.assertTrue(di is not None)
|
||||||
|
Loading…
Reference in New Issue
Block a user