From c2bbd5dcd89de4fa0d8580722fc11ac073efc7ba Mon Sep 17 00:00:00 2001 From: David Kupka Date: Tue, 9 Feb 2016 17:12:00 +0100 Subject: [PATCH] CI: Add simple replication test in 2-connected topology. Reviewed-By: Milan Kubik --- .../test_replication_layouts.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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()