mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvmdbustest: Comment out refresh check for LV create
When we test Vg.LvCreateRaid some of the hidden LVs volume type go from 'I' to 'i' between the time it takes us to create the LV and the time it takes to call into refresh to verify the service is up to date. This is a fairly rare occurance.
This commit is contained in:
parent
1d3532d0a7
commit
6f216692b4
@ -373,7 +373,11 @@ class TestDbusService(unittest.TestCase):
|
||||
lv = ClientProxy(self.bus, path)
|
||||
# TODO verify object properties
|
||||
|
||||
self.assertEqual(self._refresh(), 0)
|
||||
# We are quick enough now that we can get VolumeType changes from
|
||||
# 'I' to 'i' between the time it takes to create a RAID and it returns
|
||||
# and when we refresh state here. Not sure how we can handle this as
|
||||
# we cannot just sit and poll all the time for changes...
|
||||
# self.assertEqual(self._refresh(), 0)
|
||||
return lv
|
||||
|
||||
def test_lv_create(self):
|
||||
|
Loading…
Reference in New Issue
Block a user