Project

General

Profile

Actions

action #71596

open

[sle][qe-core] Extract virt_utils::lpar_cmd to avoid cyclic dependencies

Added by szarate over 3 years ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Bugs in existing tests
Target version:
-
Start date:
2020-09-21
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

In this pr a virt_utils was imported, to be able to call lpar_cmd however this introduced a circular dependency, leading to CI failures about redefined subroutine

For now the solution has been the same as before, do a static call

        virt_utils::lpar_cmd("$test_cmd");

However, to avoid this problem happening in the future, I suggest to:

  • Extract lpar_cmd to it's own package, or extract it to the utils package, right under utils::type_line_svirt (and adding a small documentation for the new routine :))
Actions

Also available in: Atom PDF