#9108 ipatests: remove additional check for failed units.
Closed: fixed 2 years ago by abbra. Opened 2 years ago by amore.

In ipatests/test_integration/test_otp.py::TestOTPToken:test_check_otpd_after_idle_timeout
Remove additional check for "0 loaded units listed"
Its not related to test as assert "ipa-otpd" not in check_services.stdout_text is enough.


For full reference, the test test_check_otpd_after_idle_timeout is randomly failing on RHEL, whenever there is a failed unit detected by systemctl list-units --state=failed. This makes the test unstable and dependent on the other services' health.

The original intent was to start the test with a clean state of ipa-otpd, and the test doesn't have to check other services.

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/6178
- Issue assigned to amore
- Issue tagged with: test-failure, tests

2 years ago

master:

  • a78f9f7 ipatests: remove additional check for failed units.

ipa-4-9:

  • b36bcf4 ipatests: remove additional check for failed units.

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

2 years ago

Login to comment on this ticket.

Metadata