2 Documentation DOMDataBroker testing: Leader Isolation
4 ... Copyright (c) 2017 Cisco Systems, Inc. and others. All rights reserved.
6 ... This program and the accompanying materials are made available under the
7 ... terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 ... and is available at http://www.eclipse.org/legal/epl-v10.html
10 ... The goal is to ensure the datastore succeeds in basic isolation/rejoin scenario,
11 ... simulating either a network partition, or a prolonged GC pause.
12 Suite Setup BuiltIn.Run_Keywords ClusterManagement.ClusterManagement_Setup http_timeout=10
13 ... AND SetupUtils.Setup_Utils_For_Setup_And_Teardown
14 ... AND DdbCommons.Create_Prefix_Based_Shard_And_Verify
15 Suite Teardown BuiltIn.Run_Keywords DdbCommons.Remove_Prefix_Based_Shard_And_Verify
16 ... AND SSHLibrary.Close_All_Connections
17 Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
18 Test Teardown SetupUtils.Teardown_Test_Show_Bugs_If_Test_Failed
20 Test Template DdbCommons.Leader_Isolation_PrefBasedShard_Test_Templ
22 Resource ${CURDIR}/../../../libraries/controller/DdbCommons.robot
23 Resource ${CURDIR}/../../../libraries/SetupUtils.robot
26 Healing_Within_Transaction_Timeout
27 [Documentation] The isolated node (leader) is rejoined as soon as new leader is elected and
28 ... and within transaction timeout.
31 Healing_After_2x_Transaction_Timeout
32 [Documentation] The isolated node (leader) is rejoined after 2x transaction timeout.
33 ${${TRANSACTION_TIMEOUT_2X}+1}