Skip to content

Commit

Permalink
Merge pull request #12533 from tinawang123/addosrelease
Browse files Browse the repository at this point in the history
Add check_os_release test module to migration test
  • Loading branch information
lemon-suse committed May 14, 2021
2 parents 49186d6 + becff47 commit ac1ac30
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions products/sle/main.pm
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,10 @@ sub load_online_migration_tests {
loadtest "migration/online_migration/zypper_migration";
}
loadtest "migration/online_migration/post_migration";
loadtest "console/check_system_info" if (is_sle && (get_var('FLAVOR') =~ /Migration/) && (get_var('SCC_ADDONS') !~ /ha/) && !is_sles4sap && (is_upgrade || get_var('MEDIA_UPGRADE')));
if (is_sle && (get_var('FLAVOR') =~ /Migration/) && (get_var('SCC_ADDONS') !~ /ha/) && !is_sles4sap && (is_upgrade || get_var('MEDIA_UPGRADE'))) {
loadtest "console/check_os_release";
loadtest "console/check_system_info";
}
}

sub load_patching_tests {
Expand Down Expand Up @@ -1199,7 +1202,10 @@ else {
loadtest "console/consoletest_setup";
loadtest 'console/integration_services' if is_hyperv || is_vmware;
loadtest "console/zypper_lr";
loadtest "console/check_system_info" if (is_sle && (get_var('FLAVOR') =~ /Migration/) && (get_var('SCC_ADDONS') !~ /ha/) && !is_sles4sap && (is_upgrade || get_var('MEDIA_UPGRADE')));
if (is_sle && (get_var('FLAVOR') =~ /Migration/) && (get_var('SCC_ADDONS') !~ /ha/) && !is_sles4sap && (is_upgrade || get_var('MEDIA_UPGRADE'))) {
loadtest "console/check_os_release";
loadtest "console/check_system_info";
}
}
}
elsif (get_var("BOOT_HDD_IMAGE") && !is_jeos) {
Expand Down

0 comments on commit ac1ac30

Please sign in to comment.