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 SetupUtils.Setup_Utils_For_Setup_And_Teardown http_timeout=125
13 Suite Teardown SSHLibrary.Close_All_Connections
14 Test Setup BuiltIn.Run_Keywords SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
15 ... AND DdbCommons.Create_Prefix_Based_Shard_And_Verify
16 Test Teardown BuiltIn.Run_Keywords DdbCommons.Remove_Prefix_Based_Shard_And_Verify
17 ... AND SetupUtils.Teardown_Test_Show_Bugs_If_Test_Failed
19 Test Template DdbCommons.Leader_Isolation_PrefBasedShard_Test_Templ
21 Resource ${CURDIR}/../../../libraries/controller/DdbCommons.robot
22 Resource ${CURDIR}/../../../libraries/SetupUtils.robot
25 Healing_Within_Request_Timeout
26 [Documentation] The isolated node (leader) is rejoined as soon as new leader is elected and
27 ... and within request timeout.
28 ${HEAL_WITHIN_REQUEST_TIMEOUT}
31 [Documentation] Restart odl.
32 [Setup] SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
33 DdbCommons.Restart_Test_Templ
34 [Teardown] SetupUtils.Teardown_Test_Show_Bugs_If_Test_Failed
36 Healing_After_Request_Timeout
37 [Documentation] The isolated node (leader) is rejoined after request timeout.
38 ${HEAL_AFTER_REQUEST_TIMEOUT}