Project

General

Profile

Actions

action #167938

closed

coordination #127031: [saga][epic] openQA for SUSE customers

coordination #130414: [epic] Improved code coverage in os-autoinst

Cover code of os-autoinst path lockapi.pm fully (statement coverage) size:S

Added by okurz 4 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Feature requests
Target version:
Start date:
2024-10-08
Due date:
% Done:

0%

Estimated time:

Description

Acceptance criteria

  • AC1: the path lockapi.pm is listed in codecov.yml under "fully_covered"

Suggestions


Related issues 2 (0 open2 closed)

Copied from openQA Project (public) - action #167935: Cover code of os-autoinst path myjsonrpc.pm fully (statement coverage) size:SResolvedgpuliti2024-10-08

Actions
Copied to openQA Project (public) - action #167941: Cover code of os-autoinst path distribution.pm fully (statement coverage) size:SResolvedgpathak2024-10-08

Actions
Actions #1

Updated by okurz 4 months ago

  • Copied from action #167935: Cover code of os-autoinst path myjsonrpc.pm fully (statement coverage) size:S added
Actions #2

Updated by okurz 4 months ago

  • Copied to action #167941: Cover code of os-autoinst path distribution.pm fully (statement coverage) size:S added
Actions #3

Updated by okurz 4 months ago

  • Parent task changed from #167917 to #130414
Actions #4

Updated by okurz 2 months ago

  • Subject changed from Cover code of os-autoinst path lockapi.pm fully (statement coverage) size:M to Cover code of os-autoinst path lockapi.pm fully (statement coverage)
Actions #5

Updated by okurz about 2 months ago

  • Target version changed from future to Ready
Actions #6

Updated by okurz about 2 months ago

  • Subject changed from Cover code of os-autoinst path lockapi.pm fully (statement coverage) to Cover code of os-autoinst path lockapi.pm fully (statement coverage) size:S
  • Status changed from New to Workable
Actions #7

Updated by gpuliti about 2 months ago

  • Status changed from Workable to In Progress
  • Assignee set to gpuliti

The mutex_wait function not cover is never used, but I think is there for a reason. I'm on it!

Actions #8

Updated by gpuliti about 2 months ago

Created the pull request: https://github.com/os-autoinst/os-autoinst/pull/2590/files

Resolution

I've added a new test in t/30-mmapi.t to cover the mutex_wait function. The test call the mutex_wait and check if the logs are correct.

Actions #9

Updated by livdywan about 2 months ago

  • Status changed from In Progress to Feedback

Acceptance criteria

  • AC1: the path lockapi.pm is listed in codecov.yml under "fully_covered"

Suggestions

Coverage shows as 100%. AC1 looks to be fulfilled?

Actions #10

Updated by okurz about 2 months ago

  • Status changed from Feedback to Resolved

Agreed, done here. Good job!

Actions

Also available in: Atom PDF