Upgrade RF syntax for v3.2 compatibility
[integration/test.git] / csit / suites / controller / dom_data_broker / leader_isolation.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        SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
15 Test Teardown     SetupUtils.Teardown_Test_Show_Bugs_If_Test_Failed
16 Default Tags      critical
17 Test Template     DdbCommons.Leader_Isolation_Test_Templ
18 Library           SSHLibrary
19 Resource          ${CURDIR}/../../../libraries/controller/DdbCommons.robot
20 Resource          ${CURDIR}/../../../libraries/SetupUtils.robot
21
22 *** Test Cases ***
23 Healing_Within_Request_Timeout
24     [Documentation]    The isolated node (leader) is rejoined as soon as new leader is elected and
25     ...    and within request timeout.
26     ${HEAL_WITHIN_REQUEST_TIMEOUT}
27
28 Restart
29     [Documentation]    Restart odl
30     DdbCommons.Restart_Test_Templ
31
32 Healing_After_Request_Timeout
33     [Documentation]    The isolated node (leader) is rejoined after request timeout.
34     ${HEAL_AFTER_REQUEST_TIMEOUT}