Update Robot Framework format - step 15
[integration/test.git] / csit / suites / test / alter_log_levels.robot
1 *** Settings ***
2 Documentation       For every node, set Karaf log level to ${ALTERNATIVE_KARAF_LOG_LEVEL}.
3 ...
4 ...                 Copyright (c) 2016 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 ...                 This suite is useful for testing, run it after readiness.
12 ...                 Do not forget to specify other variables if suites afterwards manipulate log level.
13 ...                 Use revert_log_levels.robot to restore log levels to the default value.
14
15 Resource            ${CURDIR}/../../libraries/ClusterManagement.robot
16
17 Suite Setup         ClusterManagement.ClusterManagement_Setup
18
19 Default Tags        clustering
20
21
22 *** Variables ***
23 ${ALTERNATIVE_KARAF_LOG_LEVEL}      INFO
24
25
26 *** Test Cases ***
27 Set_Levels
28     [Documentation]    Issue log:set command on each Karaf.
29     ClusterManagement.Run_Karaf_Command_On_List_Or_All    log:set ${ALTERNATIVE_KARAF_LOG_LEVEL}