Project

General

Profile

Actions

action #121252

closed

[qe-core] Rework tests with indirect dependencies on PackageHub

Added by szarate almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Refactor/Code Improvements
Target version:
Start date:
2022-12-01
Due date:
% Done:

0%

Estimated time:
Difficulty:
Sprint:
QE-Core: December Sprint (Dec 07 - Jan 11)

Description

Observation

Modules that are not testing PackageHub packages are depending on PackageHub which causes false negatives.

For instance in 389-ds we depend on ssh-askpass, which make s389-ds break when PackageHub is not available. Tests like this should be changed to not have this dependency

Acceptance Criteria

  • AC1: Find the tests that require PackageHub but are not testing PackageHub packages.
  • AC2: Remove the dependency without losing coverage
  • AC2b: If it's not possible, move the test to PackageHub testsuite after talking to the PO
Actions #1

Updated by szarate almost 2 years ago

  • Subject changed from Rework tests with indirect dependencies on PackageHub to [qe-core] Rework tests with indirect dependencies on PackageHub
Actions #2

Updated by rfan1 almost 2 years ago

  • Status changed from New to Workable
  • Assignee set to rfan1
Actions #3

Updated by rfan1 almost 2 years ago

  • Status changed from Workable to In Progress
  1. For 389-ds tests, I will replace 'sshpass' command with interactive shell scripts, then we don't need to wait for phub ready
  2. For vmstat test, I will try to find a new cpu/mem stress test tool to replace 'stress-ng', or can I have a try with opensource 'stress-ng' binary?
Actions #4

Updated by szarate almost 2 years ago

on vmstat, I think we'll have to live with those... as they are an extension of the already existing vmstat (But if you have better solution, I'm open :D)

Actions #5

Updated by rfan1 almost 2 years ago

szarate wrote:

on vmstat, I think we'll have to live with those... as they are an extension of the already existing vmstat (But if you have better solution, I'm open :D)

Thanks, will do.

Actions #7

Updated by rfan1 almost 2 years ago

  • Status changed from In Progress to Feedback
Actions #8

Updated by rfan1 almost 2 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF