25c940
From 890a0f3ca8cb5894d1764752c98b90dcb6274d6d Mon Sep 17 00:00:00 2001
25c940
From: Vojtech Trefny <vtrefny@redhat.com>
25c940
Date: Tue, 9 Jun 2020 11:16:15 +0200
25c940
Subject: [PATCH] dbus-tests: Fix UdisksLVMVDOTest.test_resize_physical
25c940
25c940
1 GiB suddenly isn't enough for physical size grow, lets hope
25c940
2 GiB will be enough for everyone.
25c940
25c940
Resolves: rhzb#1845435
25c940
---
25c940
 src/tests/dbus-tests/test_20_LVM.py | 3 ++-
25c940
 1 file changed, 2 insertions(+), 1 deletion(-)
25c940
25c940
diff --git a/src/tests/dbus-tests/test_20_LVM.py b/src/tests/dbus-tests/test_20_LVM.py
25c940
index e238879a3..1073a2f90 100644
25c940
--- a/src/tests/dbus-tests/test_20_LVM.py
25c940
+++ b/src/tests/dbus-tests/test_20_LVM.py
25c940
@@ -576,6 +576,7 @@ def test_resize_logical(self):
25c940
         dbus_size = self.get_property(lv, '.LogicalVolume', 'Size')
25c940
         dbus_size.assertEqual(vsize * 5)
25c940
 
25c940
+    @udiskstestcase.tag_test(udiskstestcase.TestTags.UNSTABLE)
25c940
     def test_resize_physical(self):
25c940
         vgname = 'udisks_test_vdo_vg'
25c940
 
25c940
@@ -586,7 +587,7 @@ def test_resize_physical(self):
25c940
         vg_free = self.get_property(vg, '.VolumeGroup', 'FreeSize')
25c940
         lv_name = 'udisks_test_vdovlv'
25c940
         pool_name = 'udisks_test_vdopool'
25c940
-        psize = vg_free.value - 1 * 1024**3
25c940
+        psize = vg_free.value - 2 * 1024**3
25c940
         vsize = psize * 5
25c940
         lv_path = vg.CreateVDOVolume(lv_name, pool_name, dbus.UInt64(psize), dbus.UInt64(vsize),
25c940
                                      dbus.UInt64(0), True, True, "auto", self.no_options,