Fix timeouts for Install/Uninstall Karaf Feature 15/35415/4
authorJozef Behran <jbehran@cisco.com>
Thu, 25 Feb 2016 14:51:31 +0000 (15:51 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Sun, 28 Feb 2016 19:00:49 +0000 (19:00 +0000)
15 seconds is not enough for some of the features. Even one
minute may be insufficient. Increase thus the default
timeout for these keywords to 3 minutes.

Change-Id: If79ece224becea091d3c42c2ecdac84be2b95861
Signed-off-by: Jozef Behran <jbehran@cisco.com>
csit/libraries/KarafKeywords.robot

index f1cc295755a3754a111b9595baf87351249ca309..90b4e8c28c5d4f8095ce12318bbc0b3c258410cc 100644 (file)
@@ -67,7 +67,7 @@ Check Karaf Log File Does Not Have Messages
     Should Be Equal As Strings    ${output}    0
 
 Install a Feature
-    [Arguments]    ${feature_name}    ${controller}=${ODL_SYSTEM_IP}    ${karaf_port}=${KARAF_SHELL_PORT}    ${timeout}=15
+    [Arguments]    ${feature_name}    ${controller}=${ODL_SYSTEM_IP}    ${karaf_port}=${KARAF_SHELL_PORT}    ${timeout}=180
     [Documentation]    Will Install the given ${feature_name}
     Log    ${timeout}
     ${output}=    Issue Command On Karaf Console    feature:install ${feature_name}    ${controller}    ${karaf_port}    ${timeout}
@@ -75,7 +75,7 @@ Install a Feature
     [Return]    ${output}
 
 Uninstall a Feature
-    [Arguments]    ${feature_name}    ${controller}=${ODL_SYSTEM_IP}    ${karaf_port}=${KARAF_SHELL_PORT}    ${timeout}=15
+    [Arguments]    ${feature_name}    ${controller}=${ODL_SYSTEM_IP}    ${karaf_port}=${KARAF_SHELL_PORT}    ${timeout}=180
     [Documentation]    Will UnInstall the given ${feature_name}
     ${output}=    Issue Command On Karaf Console    feature:uninstall ${feature_name}    ${controller}    ${karaf_port}    ${timeout}
     Log    ${output}