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