I have discovered another little bug in the integration test suite.

Attaching a patch that fixes it.

--
Martin^3 Babinsky
From 4f4500d01a8b2234c1d3299d854d68926f930faf Mon Sep 17 00:00:00 2001
From: Martin Babinsky <mbabi...@redhat.com>
Date: Tue, 7 Apr 2015 16:51:59 +0200
Subject: [PATCH] do not install CA on replica during integration test if
 setup_ca=False

The patch fixes bug in the construction of ipa-replica-install arguments in
test_integration/tasks.install_replica. Due to this bug the replica
installation during certain integration tests involved CA setup even when
setup_ca was set to False.
---
 ipatests/test_integration/tasks.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py
index 271d726ca2c3c8814608919b9c956a8ceef53301..e2de5296c11abd895e0c9c49f062d687f7019851 100644
--- a/ipatests/test_integration/tasks.py
+++ b/ipatests/test_integration/tasks.py
@@ -224,7 +224,6 @@ def install_replica(master, replica, setup_ca=True):
                                     'replica-info.gpg')
     replica.put_file_contents(replica_filename, replica_bundle)
     args = ['ipa-replica-install', '-U',
-            '--setup-ca',
             '-p', replica.config.dirman_password,
             '-w', replica.config.admin_password,
             '--ip-address', replica.ip,
-- 
2.1.0

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to