tests/functional: Provide a proper name for the VMs in the replay tests

With a proper name the log files get a more meaningful name.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20250218152744.228335-2-thuth@redhat.com>
This commit is contained in:
Thomas Huth 2025-02-18 16:27:31 +01:00
parent d8b913f7c7
commit 006453f400

View file

@ -34,7 +34,7 @@ class ReplayKernelBase(LinuxKernelTest):
logger = logging.getLogger('replay')
start_time = time.time()
vm = self.get_vm()
vm = self.get_vm(name='recording' if record else 'replay')
vm.set_console()
if record:
logger.info('recording the execution...')