Project

General

Profile

Actions

action #68167

closed

[tests][services] Tests for systemd services and/or the daemon wrapper scripts and wrong arguments should exit services with failure

Added by okurz over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2020-06-17
Due date:
2020-10-23
% Done:

0%

Estimated time:

Description

Motivation

See regression discussed in #68164

Acceptance criteria

  • AC1: Tests exists for systemd services executed in every pull request
  • AC2: Prevent wrong arguments exiting the service with success

Suggestions

  • We already put most of the logic into wrapper scripts so maybe we can just get along without testing systemd at all but we need tests for the wrapper scripts. Try out how the tests can be tested, e.g. very simple high-level tests that services start up correctly when using these scripts.
  • Research how to best test systemd service in our test setup, if at all

Related issues 1 (0 open1 closed)

Related to openQA Project (public) - action #65933: Add --help to all our scriptsResolvedokurz2020-04-21

Actions
Actions

Also available in: Atom PDF