2 Documentation DOMDataBroker testing: Listener Stability for prefix-based shards
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 listeners do no observe disruption when the leader moves.
11 ... This is performed by having a steady stream of transactions being observed by
12 ... the listeners and having the leader move.
13 Suite Setup SetupUtils.Setup_Utils_For_Setup_And_Teardown http_timeout=125
14 Suite Teardown SSHLibrary.Close_All_Connections
15 Test Setup BuiltIn.Run_Keywords SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
16 ... AND DdbCommons.Create_Prefix_Based_Shard_And_Verify
17 Test Teardown BuiltIn.Run_Keywords DdbCommons.Remove_Prefix_Based_Shard_And_Verify
18 ... AND SetupUtils.Teardown_Test_Show_Bugs_If_Test_Failed
20 Test Template DdbCommons.Listener_Stability_PrefBasedShard_Test_Templ
22 Resource ${CURDIR}/../../../libraries/controller/DdbCommons.robot
23 Resource ${CURDIR}/../../../libraries/SetupUtils.robot
26 Move_Leader_From_Listener_Local_To_Remote
27 [Documentation] Listener runs on leader node when leader is moved to remote node.
31 [Documentation] Restart odl.
32 [Setup] SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
34 DdbCommons.Restart_Test_Templ
35 [Teardown] SetupUtils.Teardown_Test_Show_Bugs_If_Test_Failed
37 Move_Leader_From_Listener_Remote_To_Other_Remote
38 [Documentation] Listener runs on follower node when leader is moved to the third node.
42 [Documentation] Restart odl.
43 [Setup] SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
45 DdbCommons.Restart_Test_Templ
46 [Teardown] SetupUtils.Teardown_Test_Show_Bugs_If_Test_Failed
48 Move_Leader_From_Listener_Remote_To_Local
49 [Documentation] Listener runs on follower node when leader is moved to local node.