1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: lvmdbustest.py skip if g_tmo != 0

This test doesn't have any additional value when running when g_tmo != 0.
This commit is contained in:
Tony Asleson 2024-03-27 11:50:24 -05:00 committed by Zdenek Kabelac
parent 3430395c85
commit f2edc96bb6

View File

@ -2352,6 +2352,9 @@ class TestDbusService(unittest.TestCase):
if bool(int(os.getenv("LVM_DBUSD_TEST_SKIP_SIGNAL", "0"))): if bool(int(os.getenv("LVM_DBUSD_TEST_SKIP_SIGNAL", "0"))):
raise unittest.SkipTest("Skipping as env. LVM_DBUSD_TEST_SKIP_SIGNAL is '1'") raise unittest.SkipTest("Skipping as env. LVM_DBUSD_TEST_SKIP_SIGNAL is '1'")
if g_tmo != 0:
raise unittest.SkipTest("Skipping for g_tmo != 0")
di = DaemonInfo.get() di = DaemonInfo.get()
self.assertTrue(di is not None) self.assertTrue(di is not None)
if di: if di: