12f64f5f7536185702b59b4e3cb2a4b3d67dfe52
[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 Suite Setup       SetupUtils.Setup_Utils_For_Setup_And_Teardown
17 Default Tags      critical    distribution    features
18 Resource          ${CURDIR}/../../libraries/ClusterManagement.robot
19 Resource          ${CURDIR}/../../libraries/SetupUtils.robot
20 Resource          ${CURDIR}/../../variables/Variables.robot
21
22 *** Variables ***
23 ${STOP_TIMEOUT}    180s
24
25 *** Testcases ***
26 Stop_Karaf_Within_Timeout
27     [Documentation]    Try to stop karaf using delivered ./bin/stop script.
28     ClusterManagement.Stop_Members_From_List_Or_All    timeout=${STOP_TIMEOUT}