From 68f8075f9b911edb74f3134962afbdcc8aa164e8 Mon Sep 17 00:00:00 2001 From: guoxuguang Date: Tue, 25 Jun 2024 16:44:34 +0200 Subject: [PATCH] virt_autotest: Enhancemnet for SLE12SP5 guest upgrade test --- tests/virt_autotest/guest_upgrade_run.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/virt_autotest/guest_upgrade_run.pm b/tests/virt_autotest/guest_upgrade_run.pm index 238e09a40428..5204d5eee25f 100644 --- a/tests/virt_autotest/guest_upgrade_run.pm +++ b/tests/virt_autotest/guest_upgrade_run.pm @@ -16,6 +16,7 @@ use virt_utils; use testapi; use Utils::Architectures; use virt_autotest::utils; +use version_utils qw(is_sle); sub get_script_run { #NOTE:Found that s390x arch used with the svirt backend @@ -119,6 +120,7 @@ sub run { my $self = shift; my $timeout = get_var('MAX_TEST_TIME', '36000') + 10; my $upload_log_name = 'guest-upgrade-logs'; + record_info "DEBUG", "TIMEOUT of Guest Upgrade as $timeout" if is_sle('=12-sp5'); if (is_s390x) { #ues die_on_timeout=> 0 as workaround for s390x test during call script_run, refer to poo#106765 script_run("echo \"Debug info: max_test_time is $timeout\"", die_on_timeout => 0);