2 Documentation DOMDataBroker testing: Remote Listener
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 BuiltIn.Run_Keywords SetupUtils.Setup_Utils_For_Setup_And_Teardown http_timeout=30
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.Remote_Listener_PrefBasedShard_Test_Templ
22 Resource ${CURDIR}/../../../libraries/controller/DdbCommons.robot
23 Resource ${CURDIR}/../../../libraries/SetupUtils.robot
26 Listener_On_Shard_Leader_Node
27 [Documentation] Listener runs on leader node when leader changed.
31 [Documentation] Restart odl
33 DdbCommons.Restart_Test_Templ
35 Listener_On_Shard_Non_Leader_Node
36 [Documentation] Listener runs on non-leader node when leader changed.