Upgrade RF syntax for v3.2 compatibility
[integration/test.git] / csit / suites / controller / dom_data_broker / client_isolation.robot
1 *** Settings ***
2 Documentation     DOMDataBroker testing: Client Isolation
3 ...
4 ...               Copyright (c) 2017 Cisco Systems, Inc. and others. All rights reserved.
5 ...
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
9 ...
10 ...               The purpose of this test is to ascertain that the failure modes of
11 ...               cds-access-client work as expected. This is performed by having a steady
12 ...               stream of transactions flowing from the frontend and isolating the node hosting
13 ...               the frontend from the rest of the cluster.
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
18 Default Tags      critical
19 Test Template     DdbCommons.Client_Isolation_Test_Templ
20 Library           SSHLibrary
21 Resource          ${CURDIR}/../../../libraries/controller/DdbCommons.robot
22 Resource          ${CURDIR}/../../../libraries/SetupUtils.robot
23
24 *** Test Cases ***
25 Producer_On_Shard_Leader_Node_ChainedTx
26     [Documentation]    Client isolation with producer on shard leader with chained transactions.
27     leader    ${CHAINED_TX}
28
29 Restart1
30     [Documentation]    Restart odl
31     DdbCommons.Restart_Test_Templ
32
33 Producer_On_Shard_Leader_Node_SimpleTx
34     [Documentation]    Client isolation with producer on shard leader with simple transactions.
35     leader    ${SIMPLE_TX}
36
37 Restart2
38     [Documentation]    Restart odl
39     DdbCommons.Restart_Test_Templ
40
41 Producer_On_Shard_Non_Leader_Node_ChainedTx
42     [Documentation]    Client isolation with producer on shard non-leader with chained transactions.
43     non-leader    ${CHAINED_TX}
44
45 Restart3
46     [Documentation]    Restart odl
47     DdbCommons.Restart_Test_Templ
48
49 Producer_On_Shard_Non_Leader_Node_SimpleTx
50     [Documentation]    Client isolation with producer on shard non-leader with simple transactions.
51     non-leader    ${SIMPLE_TX}