Project

General

Profile

Actions

action #28988

open

[qe-core][sle][functional] modify or drop scripted_run_slow function since it makes test module not fail on error

Added by Anonymous over 6 years ago. Updated about 2 months ago.

Status:
Blocked
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Target version:
SUSE QA - Milestone 30
Start date:
2017-12-06
Due date:
% Done:

0%

Estimated time:
42.00 h
Difficulty:

Description

As observed from a test module zypper_lr_validation for SLE15 that although there were errors in the result from the command, the test module didn't register or show as failed. This may lead to the fact that we overlook serious issues. And the reason why it happened was that the command run_scripted_command_slow($cmd, slow_type => 2); didn't throw exception as one had expected, since it only calls type_string_very_slow and wait_serial but not assert_script_run.

acceptance criteria

  • AC1: Modify (or drop) run_scripted_command_slow function so that a test module dies if the command didn't return zero.

tasks

  • Modify or drop run_scripted_command_slow function
  • Make sure the modules that called run_scripted_command_slow function still work afterwards

Related issues 2 (0 open2 closed)

Related to openQA Tests - action #25450: [sle][functional][medium] test fails in zypper_lr_validateResolvedJERiveraMoya2017-09-202018-01-17

Actions
Blocked by openQA Tests - action #64806: [qe-core][functional] Implement slow_type parameter for assert_script_runRejectedjorauch

Actions
Actions

Also available in: Atom PDF