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