audio: unload guest' module-vchan-sink in hvm tests

This commit is contained in:
Dmitry Fedorov 2020-06-24 14:59:24 +03:00
parent 314e3c5d45
commit 362cf006eb
No known key found for this signature in database
GPG Key ID: C61C7F61C4D85F8D

View File

@ -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):