From 362cf006eb6c7d53691c347ea76f77729482c92c Mon Sep 17 00:00:00 2001 From: Dmitry Fedorov Date: Wed, 24 Jun 2020 14:59:24 +0300 Subject: [PATCH] audio: unload guest' module-vchan-sink in hvm tests --- qubes/tests/integ/vm_qrexec_gui.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qubes/tests/integ/vm_qrexec_gui.py b/qubes/tests/integ/vm_qrexec_gui.py index 9c6c546a..5ebc6308 100644 --- a/qubes/tests/integ/vm_qrexec_gui.py +++ b/qubes/tests/integ/vm_qrexec_gui.py @@ -591,6 +591,8 @@ class TC_00_AppVMMixin(object): self.testvm1.virt_mode = 'hvm' self.testvm1.features['audio-model'] = 'ich6' self.prepare_audio_vm() + self.loop.run_until_complete( + self.testvm1.run_for_stdio('pacmd unload-module module-vchan-sink')) self.common_audio_playback() @unittest.skipUnless(spawn.find_executable('parecord'), @@ -599,6 +601,8 @@ class TC_00_AppVMMixin(object): self.testvm1.virt_mode = 'hvm' self.testvm1.features['audio-model'] = 'ich6' self.prepare_audio_vm() + self.loop.run_until_complete( + self.testvm1.run_for_stdio('pacmd unload-module module-vchan-sink')) self.common_audio_record_muted() @unittest.skipUnless(spawn.find_executable('parecord'), @@ -607,6 +611,8 @@ class TC_00_AppVMMixin(object): self.testvm1.virt_mode = 'hvm' self.testvm1.features['audio-model'] = 'ich6' self.prepare_audio_vm() + self.loop.run_until_complete( + self.testvm1.run_for_stdio('pacmd unload-module module-vchan-sink')) self.common_audio_record_unmuted() def test_250_resize_private_img(self):