mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
ipatests: hidden replica: misc fixes
Rename a test and split a test in two. Related: https://pagure.io/freeipa/issue/8534 Signed-off-by: François Cami <fcami@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Mohammad Rizwan Yusuf <myusuf@redhat.com>
This commit is contained in:
parent
b9b7175dbd
commit
4c7f148c50
@ -922,7 +922,7 @@ class TestHiddenReplicaPromotion(IntegrationTest):
|
||||
)
|
||||
assert returncode == 0
|
||||
|
||||
def test_hide_master_fails(self):
|
||||
def test_hide_last_visible_server_fails(self):
|
||||
# verify state
|
||||
self._check_config([self.master], [self.replicas[0]])
|
||||
# nothing to do
|
||||
@ -961,6 +961,7 @@ class TestHiddenReplicaPromotion(IntegrationTest):
|
||||
self._check_config([self.master, self.replicas[0]])
|
||||
self._check_dnsrecords([self.master, self.replicas[0]])
|
||||
|
||||
def test_promote_twice_fails(self):
|
||||
result = self.replicas[0].run_command([
|
||||
'ipa', 'server-state',
|
||||
self.replicas[0].hostname, '--state=enabled'
|
||||
|
Loading…
Reference in New Issue
Block a user