Add missing library in longevity test
[integration/test.git] / csit / suites / openflowplugin / Longevity / 010__longevity_switches.robot
index b17dedde9caf223610b2f2fe3c7fe83d2907d7f1..c3469dfc627f1be5c6411e363a85fd4ac9da20fd 100644 (file)
@@ -13,10 +13,12 @@ Library           RequestsLibrary
 Library           DateTime
 Variables         ../../../variables/Variables.py
 Resource          ../../../libraries/Scalability.robot
+Resource          ../../../libraries/KarafKeywords.robot
 
 *** Variables ***
 ${NUM_SWITCHES}    200
 ${TEST_LENGTH}    2 hours
+${KARAF_LOG_LEVEL}    ERROR
 
 *** Test Cases ***
 Longevity Test
@@ -54,6 +56,7 @@ Longevity Suite Setup
     [Documentation]    In addtion to opening the REST session to the controller, the ${end_time} that this
     ...    test should not exceed is calculated and made in to a suite wide variable.
     Create Session    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS_XML}
+    KarafKeywords.Issue Command On Karaf Console    log:set    ${KARAF_LOG_LEVEL}
     ${start_time}=    Get Current Date
     ${end_time}=    Add Time To Date    ${start_time}    ${TEST_LENGTH}
     ${end_time}=    Convert Date    ${end_time}    epoch