mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
Fixing TestCASpecificRUVs::test_replica_uninstall_deletes_ruvs
This test will setup a master and a replica, uninstall replica and check for the replica RUVs on the master. It was missing the step of running ipa-replica-manage del <replica hostname> to properly remove the RUVs. Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
parent
a885f07d13
commit
8a8b641c72
@ -239,6 +239,9 @@ class TestCASpecificRUVs(IntegrationTest):
|
||||
assert(res1.count(replica.hostname) == 2), (
|
||||
"Did not find proper number of replica hostname (%s) occurrencies"
|
||||
" in the command output: %s" % (replica.hostname, res1))
|
||||
|
||||
master.run_command(['ipa-replica-manage', 'del', replica.hostname,
|
||||
'-p', master.config.dirman_password])
|
||||
tasks.uninstall_master(replica)
|
||||
res2 = master.run_command(['ipa-replica-manage', 'list-ruv', '-p',
|
||||
master.config.dirman_password]).stdout_text
|
||||
|
Loading…
Reference in New Issue
Block a user