action #132734
closedcoordination #121864: [epic] Split and enhance test modules in migrations
Create a new module to recover version to original
Description
Motivation¶
To enhance our code and make it clear, we need create a new module to recover version to original.
In the module will contain below code:
set_var('VERSION', $original_version);
reset_consoles_tty;
And need remove the description for needles which is not correct:
https://github.com/chcao/os-autoinst-distri-opensuse/blob/98f5b1aaf188d6865753558fb519da6835c58275/tests/migration/version_switch_origin_system.pm#
Later this module should be used to replace the version_switch_origin_system for the test suites for split of patch_sle.
Acceptance criteria¶
AC1: Create a new module to recover version to original
Additional information¶
Refactored test suite are currently in this job group with names ending on *_split_patch_sle
.
Updated by leli over 1 year ago
- Status changed from New to Workable
- Target version set to Current
- Parent task set to #121864
Updated by lmanfredi over 1 year ago
- Status changed from Workable to In Progress
- Assignee set to lmanfredi
Updated by JERiveraMoya over 1 year ago
we should use HDDVERSION, I'm not sure why this comment:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/17516/files#diff-9b19f102e0f7824a938523fd5fe062fa9a7ebb31c5b6a469e4dd4e506dffd582R18
that module is recently refactored, right? so we can do it as we like.
Updated by lmanfredi over 1 year ago
There was this comment in the original module:
sub run {
# Before upgrade or after rollback, switch to original system version
# Do NOT use HDDVERSION because it might be changed in another test
# module, such as: reboot_and_install.pm
Updated by lmanfredi about 1 year ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100