summaryrefslogtreecommitdiffstats
path: root/ipatests/test_integration
diff options
context:
space:
mode:
authorDavid Kupka <dkupka@redhat.com>2016-02-09 17:12:00 +0100
committerMartin Basti <mbasti@redhat.com>2016-02-12 16:57:19 +0100
commitc2bbd5dcd89de4fa0d8580722fc11ac073efc7ba (patch)
tree7924041f1f6c7a34bc43ffe618e3987d3465aef9 /ipatests/test_integration
parent8f6e9113e954e29ed75311d8ee392bd5138209dd (diff)
downloadfreeipa-c2bbd5dcd89de4fa0d8580722fc11ac073efc7ba.tar.gz
freeipa-c2bbd5dcd89de4fa0d8580722fc11ac073efc7ba.tar.xz
freeipa-c2bbd5dcd89de4fa0d8580722fc11ac073efc7ba.zip
CI: Add simple replication test in 2-connected topology.
Reviewed-By: Milan Kubik <mkubik@redhat.com>
Diffstat (limited to 'ipatests/test_integration')
-rw-r--r--ipatests/test_integration/test_replication_layouts.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/ipatests/test_integration/test_replication_layouts.py b/ipatests/test_integration/test_replication_layouts.py
index 3a3e9641e..4dd3fb51b 100644
--- a/ipatests/test_integration/test_replication_layouts.py
+++ b/ipatests/test_integration/test_replication_layouts.py
@@ -85,3 +85,21 @@ class TestCompleteTopologyWithCA(LayoutsBaseTest):
tasks.install_topo('complete', self.master, self.replicas, [],
setup_replica_cas=True)
self.replication_is_working()
+
+
+class Test2ConnectedTopologyWithoutCA(LayoutsBaseTest):
+ num_replicas = 33
+
+ def test_2_connected_topology_without_ca(self):
+ tasks.install_topo('2-connected', self.master, self.replicas, [],
+ setup_replica_cas=False)
+ self.replication_is_working()
+
+
+class Test2ConnectedTopologyWithCA(LayoutsBaseTest):
+ num_replicas = 33
+
+ def test_2_connected_topology_with_ca(self):
+ tasks.install_topo('2-connected', self.master, self.replicas, [],
+ setup_replica_cas=True)
+ self.replication_is_working()