#9136 Add tests for ipa-healthcheck setting command-line options in configuration
Closed: fixed 2 years ago by frenaud. Opened 2 years ago by rcritten.

Issue

Upstream freeipa-healthcheck added the capability to set command-line options within the configuration file. The purpose is to be able to control the timer script without changing rpm-provided files.

Related RH BZ https://bugzilla.redhat.com/show_bug.cgi?id=1872467


Metadata Update from @rcritten:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1872467

2 years ago

The upstream freepa-healthcheck project has unit tests but no integration capability in CI so testing a live server is not possible.

IPA contains the freeipa-healthcheck integration tests. Some need to be added to verify and prevent regressions for storing command-line options within configuration (e.g. to set preferences).

master:

  • e9d0208 healthcheck: add tests for setting cli options in config file

Metadata Update from @frenaud:
- Custom field test_case adjusted to test_integration/test_ipahealthcheck.py::TestIpaHealthCheck::test_ipa_healthcheck_no_errors_with_overrides

2 years ago

ipa-4-9:

  • 0e8350e healthcheck: add tests for setting cli options in config file

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata