2 Documentation DOMDataBroker testing: Clean Leader Shutdown
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 that applications do not observe disruption when a shard
11 ... leader is shut down cleanly. This is performed by having a steady-stream
12 ... producer execute operations against the shard and then initiate leader shard
13 ... shutdown, then the producer is shut down cleanly.
14 Suite Setup SetupUtils.Setup_Utils_For_Setup_And_Teardown http_timeout=125
15 Suite Teardown SSHLibrary.Close_All_Connections
16 Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
17 Test Teardown SetupUtils.Teardown_Test_Show_Bugs_If_Test_Failed
19 Test Template DdbCommons.Clean_Leader_Shutdown_Test_Templ
21 Resource ${CURDIR}/../../../libraries/controller/DdbCommons.robot
22 Resource ${CURDIR}/../../../libraries/SetupUtils.robot
26 [Documentation] Shutdown the leader on the same node as transaction producer.
30 [Documentation] Restart odl
32 DdbCommons.Restart_Test_Templ
34 Remote_Leader_Shutdown
35 [Documentation] Shutdown the leader on different node as transaction producer.