Skip to content

Commit

Permalink
test: Disable packagekit in TestStorageLegacyVDO
Browse files Browse the repository at this point in the history
Creating a VDO needs oodles of memory, almost as much as our standard
VMs provide. packagekit often starts up in parallel and does its own
CPU/memory hungry thing, both together then collide and OOM.

We don't need packagekit for this test, so disable it like we did in so
many others already.

Cherry-picked from main commit 172dd31.
  • Loading branch information
martinpitt authored and allisonkarlitskaya committed Sep 26, 2023
1 parent 9d36f33 commit 56ed0f3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/verify/check-storage-vdo
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,11 @@ class TestStorageVDO(storagelib.StorageCase):
@testlib.onlyImage("legacy VDO API only supported on RHEL 8", "rhel-8*", "centos-8*")
class TestStorageLegacyVDO(storagelib.StorageCase):

def setUp(self):
super().setUp()
# packagekit eats too much CPU/memory in the background
self.machine.execute("systemctl mask packagekit; systemctl stop packagekit")

def testVdo(self):
m = self.machine
b = self.browser
Expand Down

0 comments on commit 56ed0f3

Please sign in to comment.