Update Robot Framework format - step 14
[integration/test.git] / csit / suites / distribution / karaf_stop.robot
1 *** Settings ***
2 Documentation       Karaf stop suite.
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 ...
11 ...                 Try to test whether Karaf stops correctly when stop script is used.
12 ...
13 ...                 This suite should run as the last one, because it stops the karaf and does
14 ...                 not start again. And should try to stop karaf when enough features are installed.
15 ...                 Because of that it will be run after the karaf_sequence_install.robot
16
17 Resource            ${CURDIR}/../../libraries/ClusterManagement.robot
18 Resource            ${CURDIR}/../../libraries/SetupUtils.robot
19 Resource            ${CURDIR}/../../variables/Variables.robot
20
21 Suite Setup         SetupUtils.Setup_Utils_For_Setup_And_Teardown
22
23 Default Tags        critical    distribution    features
24
25
26 *** Variables ***
27 ${STOP_TIMEOUT}     180s
28
29
30 *** Test Cases ***
31 Stop_Karaf_Within_Timeout
32     [Documentation]    Try to stop karaf using delivered ./bin/stop script.
33     ClusterManagement.Stop_Members_From_List_Or_All    timeout=${STOP_TIMEOUT}