Upgrade RF syntax for v3.2 compatibility
[integration/test.git] / csit / suites / controller / dom_data_broker / leader_isolation_prefbasedshard.robot
1 *** Settings ***
2 Documentation     DOMDataBroker testing: Leader 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 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
18 Default Tags      critical
19 Test Template     DdbCommons.Leader_Isolation_PrefBasedShard_Test_Templ
20 Library           SSHLibrary
21 Resource          ${CURDIR}/../../../libraries/controller/DdbCommons.robot
22 Resource          ${CURDIR}/../../../libraries/SetupUtils.robot
23
24 *** Test Cases ***
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}
29
30 Restart
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
35
36 Healing_After_Request_Timeout
37     [Documentation]    The isolated node (leader) is rejoined after request timeout.
38     ${HEAL_AFTER_REQUEST_TIMEOUT}