#9136 Add tests for ipa-healthcheck setting command-line options in configuration
Closed: fixed by frenaud. Opened 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

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).

https://github.com/freeipa/freeipa/pull/6231

master:

  • e9d0208cac86d0b132f288ef6bbce62a5a8b1ef1 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

ipa-4-9:

  • 0e8350e0dd8219fd8245f57e0ebc9a096e9be84f 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)

Metadata