Skip to content

Commit

Permalink
tests: update for modular libvirt daemon
Browse files Browse the repository at this point in the history
It's now virxend service, not libvirtd.

QubesOS/qubes-issues#9402
  • Loading branch information
marmarek committed Oct 4, 2024
1 parent 05b77fc commit 258254c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qubes/tests/integ/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def test_140_libvirt_events_reconnect(self):
self.loop.run_until_complete(self.vm.create_on_disk())
self.loop.run_until_complete(self.vm.start())
p = self.loop.run_until_complete(asyncio.create_subprocess_exec(
'systemctl', 'restart', 'libvirtd'))
'systemctl', 'restart', 'virtxend'))
self.loop.run_until_complete(p.communicate())
# check if events still works
self.domain_paused_received = False
Expand All @@ -302,7 +302,7 @@ def test_141_libvirt_objects_reconnect(self):
# make sure libvirt object is cached
self.app.domains[0].libvirt_domain.isActive()
p = self.loop.run_until_complete(asyncio.create_subprocess_exec(
'systemctl', 'restart', 'libvirtd'))
'systemctl', 'restart', 'virtxend'))
self.loop.run_until_complete(p.communicate())
# trigger reconnect
with self.assertNotRaises(libvirt.libvirtError):
Expand Down

0 comments on commit 258254c

Please sign in to comment.