]> sourceware.org Git - lvm2.git/commitdiff
lvmdbustest: Move signals to last
authorTony Asleson <tasleson@redhat.com>
Thu, 8 Sep 2022 20:28:52 +0000 (15:28 -0500)
committerTony Asleson <tasleson@redhat.com>
Fri, 16 Sep 2022 15:49:37 +0000 (10:49 -0500)
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.

test/dbus/lvmdbustest.py

index 0d06177c02821019f395bc3b8f1f6a50e3154d61..18cac35d66eca89bb6296ae6fedf51fa2bc49749 100755 (executable)
@@ -2314,7 +2314,7 @@ class TestDbusService(unittest.TestCase):
                                self.assertTrue('Job is not complete!' in str(e))
                                raise e
 
-       def test_sigint(self):
+       def test_z_sigint(self):
                # Issue SIGINT while daemon is processing work to ensure we shut down.
                di = DaemonInfo.get()
                self.assertTrue(di is not None)
@@ -2349,7 +2349,7 @@ class TestDbusService(unittest.TestCase):
                                                                "Failed to exit after sending signal %f seconds after "
                                                                "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
                di = DaemonInfo.get()
                self.assertTrue(di is not None)
This page took 0.036728 seconds and 5 git commands to generate.