Project

General

Profile

Actions

action #132911

closed

coordination #121864: [epic] Split and enhance test modules in migrations

Split and improve recently created test module install_patterns

Added by JERiveraMoya 10 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
2023-07-18
Due date:
% Done:

100%

Estimated time:

Description

Motivation

Improve and split recently created tests/migration/install_patterns.pm

This test module does two different things:
(1) install all patterns if needed
(2) display packages in the system

(1) in the near future this task will be done during the building of support images, so it will never appear in migration test suite (at least the ones refactored). Nevertheless this mechanism/test module might be used there somehow, so to improve (1) as usual we will be removing conditional code from tests, it should be clear that this test module is scheduled only when all patterns are required and renamed to install_all_patterns.pm.
(2) another test module should be created for displaying the state of the rpm db at that moment, it might be call 'query_all_rpm.pm'.

Acceptance criteria

AC1: Split and improve this piece of code as described above

Additional information

Refactored test suite are currently in this job group with names ending on *_split_patch_sle.

Actions

Also available in: Atom PDF