Project

General

Profile

Actions

action #71857

closed

coordination #80142: [saga][epic] Scale out: Redundant/load-balancing deployments of openQA, easy containers, containers on kubernetes

coordination #55364: [epic] Let's make codecov reports reliable

flaky/unstable/sporadic test coverage from t/34-developer_mode-unit.t

Added by okurz over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Organisational
Target version:
Start date:
2020-09-24
Due date:
% Done:

0%

Estimated time:

Description

Observation

See https://codecov.io/gh/os-autoinst/openQA/pull/3417/changes from https://github.com/os-autoinst/openQA/pull/3418

Changes in t/lib/OpenQA/SeleniumTest.pm:wait_for_element

368:        return 0;

Changes in t/34-developer_mode-unit.t:wait_for_finished_handled

101:            });
102:        Mojo::IOLoop->one_tick;
103:        Mojo::IOLoop->remove($timer);

Acceptance criteria

  • AC1: t/34-developer_mode-unit.t has 100% reliable statement coverage

Suggestions

  • Collect coverage of the single test t/34-developer_mode-unit.t locally
  • Optional: Reproduce the flakyness
  • Ensure within the test that all code is explicitly called
  • Extend to cover the line in t/lib/OpenQA/SeleniumTest.pm as well
Actions

Also available in: Atom PDF