#9047 Add automation for ipa-replica-conncheck in upstream tests
Closed: fixed 2 years ago by frenaud. Opened 2 years ago by myusuf.

We need to add automation for ipa-replica-conncheck . For this we can refer the below mail thread snippet for test cases and we can add additional.
Lets create tasks needed for this effort in this user story.

Snippet from mail thread

and would like to make sure that we have an associated test. The test would need to make sure that the tool ipa-replica-conncheck --auto-master-check is successful in the following use cases:

when called with --principal (it should then prompt for a password)
when called with --principal / --password
when called without principal and password but with a kerberos TGT (kinit admin done before calling ipa-replica-conncheck)
when called without principal and password, and without any kerberos TGT (it should default to principal=admin and prompt for a password).

ipa-replica-conncheck should check the RPC connection to the master and not fallback to SSH.


Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/6092
- Issue assigned to myusuf

2 years ago

master:

  • 265f261 Test cases for ipa-replica-conncheck command
  • df03dd9 PEP8 Fixes

ipa-4-9:

  • 1d19b86 Test cases for ipa-replica-conncheck command
  • 5444da0 PEP8 Fixes

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