Project

General

Profile

Actions

action #30775

closed

[functional][y] Add test flag which force openQA to fallback to latest Milestone snapshot even when test passed

Added by asmorodskyi over 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
SUSE QA - Milestone 20
Start date:
2018-01-24
Due date:
2018-11-20
% Done:

0%

Estimated time:
8.00 h

Description

Currently load_snapshot is not available from test code , and only condition which trigger it is test failure .
But there are cases where we need to reset system to previous Milestone even if module pass.
We have limitations on bare metal, and to proceed here, we can ignore it.

After discussion with Anton, he is fine to start in a conservative way, so that test module should have flag set and we don't change any behavior of the test execution with this feature.

Suggestion

Implement additional tests flag "force_reset" which will force openQA to revert to previous snapshot no matter if module pass or fail

Acceptance criteria

  1. Test module actions can be cleaned up by reverting SUT state to the last milestone snapshot
Actions

Also available in: Atom PDF