+ Usage for netconf cluster entity test.
Change-Id: I34752852e9ab663beed6c9bbda72248aa18f85ce
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
--- /dev/null
+*** Settings ***
+Documentation For every node, set Karaf log level to ${ALTERNATIVE_KARAF_LOG_LEVEL}.
+...
+... Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
+...
+... This program and the accompanying materials are made available under the
+... terms of the Eclipse Public License v1.0 which accompanies this distribution,
+... and is available at http://www.eclipse.org/legal/epl-v10.html
+...
+...
+... This suite is useful for testing, run it after readiness.
+... Do not forget to specify other variables if suites afterwards manipulate log level.
+... Use revert_log_levels.robot to restore log levels to the default value.
+Suite Setup ClusterManagement.ClusterManagement_Setup
+Default Tags clustering
+Resource ${CURDIR}/../../libraries/ClusterManagement.robot
+
+*** Variables ***
+${ALTERNATIVE_KARAF_LOG_LEVEL} INFO
+
+*** Test Cases ***
+Set_Levels
+ [Documentation] Issue log:set command on each Karaf.
+ ClusterManagement.Run_Karaf_Command_On_List_Or_All log:set ${ALTERNATIVE_KARAF_LOG_LEVEL}
--- /dev/null
+*** Settings ***
+Documentation For every node, set Karaf log level to ${DEFAULT_KARAF_LOG_LEVEL}.
+...
+... Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
+...
+... This program and the accompanying materials are made available under the
+... terms of the Eclipse Public License v1.0 which accompanies this distribution,
+... and is available at http://www.eclipse.org/legal/epl-v10.html
+...
+...
+... This suite is useful for testing, run it after primary site to kep karaf.log shorter.
+Suite Setup ClusterManagement.ClusterManagement_Setup
+Default Tags clustering
+Resource ${CURDIR}/../../libraries/ClusterManagement.robot
+
+*** Variables ***
+${DEFAULT_KARAF_LOG_LEVEL} INFO
+
+*** Test Cases ***
+Set_Levels
+ [Documentation] Issue log:set command on each Karaf.
+ ClusterManagement.Run_Karaf_Command_On_List_Or_All log:set ${DEFAULT_KARAF_LOG_LEVEL}
# Place the suites in run order:
# Run non intrusive cluster tests first.
-integration/test/csit/suites/netconf/ready
+integration/test/csit/suites/netconf/ready/netconfready.robot
integration/test/csit/suites/netconf/clustering/CRUD.robot
# Run the intrusive cluster tests after the non-intrusive ones.
+integration/test/csit/suites/test/alter_log_levels.robot
integration/test/csit/suites/netconf/clustering/entity.robot
+integration/test/csit/suites/test/revert_log_levels.robot
integration/test/csit/suites/netconf/clustering/outages.robot
# Repeat the CRUD test suite again to try to detect breakage caused by