|
|
bb0ded |
From 8b22ee018c3bb7f58a1b6694a7fd611688f8e74f Mon Sep 17 00:00:00 2001
|
|
|
bb0ded |
From: Sumedh Sidhaye <ssidhaye@redhat.com>
|
|
|
bb0ded |
Date: Thu, 25 Nov 2021 17:48:20 +0530
|
|
|
bb0ded |
Subject: [PATCH] Extend test to see if replica is not shown when running
|
|
|
bb0ded |
`ipa-replica-manage list -v <FQDN>`
|
|
|
bb0ded |
|
|
|
bb0ded |
Related: https://pagure.io/freeipa/issue/8605
|
|
|
bb0ded |
|
|
|
bb0ded |
Signed-off-by: Sumedh Sidhaye <ssidhaye@redhat.com>
|
|
|
bb0ded |
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
|
|
|
bb0ded |
---
|
|
|
bb0ded |
ipatests/test_integration/test_simple_replication.py | 3 ++-
|
|
|
bb0ded |
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
bb0ded |
|
|
|
bb0ded |
diff --git a/ipatests/test_integration/test_simple_replication.py b/ipatests/test_integration/test_simple_replication.py
|
|
|
bb0ded |
index 8de3851447abdfd36171134cbb683115b34df749..17092a49966e61d5a4a9b04c15abcb1de8be9683 100644
|
|
|
bb0ded |
--- a/ipatests/test_integration/test_simple_replication.py
|
|
|
bb0ded |
+++ b/ipatests/test_integration/test_simple_replication.py
|
|
|
bb0ded |
@@ -111,5 +111,6 @@ class TestSimpleReplication(IntegrationTest):
|
|
|
bb0ded |
# has to be run with --force, there is no --unattended
|
|
|
bb0ded |
self.master.run_command(['ipa-replica-manage', 'del',
|
|
|
bb0ded |
self.replicas[0].hostname, '--force'])
|
|
|
bb0ded |
- result = self.master.run_command(['ipa-replica-manage', 'list'])
|
|
|
bb0ded |
+ result = self.master.run_command(
|
|
|
bb0ded |
+ ['ipa-replica-manage', 'list', '-v', self.master.hostname])
|
|
|
bb0ded |
assert self.replicas[0].hostname not in result.stdout_text
|
|
|
bb0ded |
--
|
|
|
bb0ded |
2.34.1
|
|
|
bb0ded |
|