Change timeout for reading karaf log 39/29739/3
authorAndrej Záň <andrej.zan@pantheon.sk>
Mon, 16 Nov 2015 09:52:12 +0000 (10:52 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 17 Nov 2015 01:41:17 +0000 (01:41 +0000)
Change-Id: Ib5471307b0bb734ad53558179dad8235dde8372d
Signed-off-by: Andrej Záň <andrej.zan@pantheon.sk>
csit/suites/topoprocessing/topology-operations/010_Unifications_Tests.robot

index ff45a0e6da1fa3f8dcd491f2665087f41549deb1..d6b1f967dc04c101f5f75d76ba0ab245e5b15c4b 100644 (file)
@@ -25,7 +25,7 @@ Unification on Network Topology
     [Documentation]    Test unification operation on Network Topology model
     Prepare New Feature Installation
     Install a Feature    odl-topoprocessing-network-topology odl-bgpcep-pcep-all    timeout=30
-    Wait For Karaf Log    Registering Topology Request Listener
+    Wait For Karaf Log    Registering Topology Request Listener    300
     ${resp}    RequestsLibrary.Put    session    ${CONFIGURATION}/${TOPOLOGY_URL}/unif:1    data=${UNIFICATION_NT}
     Log    ${CONFIGURATION}/${TOPOLOGY_URL}/unif:1
     Should Be Equal As Strings    ${resp.status_code}    200
@@ -65,9 +65,9 @@ Test Teardown
     Delete All Sessions
 
 Wait For Karaf Log
-    [Arguments]    ${message}
+    [Arguments]    ${message}    ${timeout}=60
     [Documentation]    Read karaf logs until message appear
-    Open Connection    ${CONTROLLER}    port=${KARAF_SHELL_PORT}    prompt=${KARAF_PROMPT}    timeout=60
+    Open Connection    ${CONTROLLER}    port=${KARAF_SHELL_PORT}    prompt=${KARAF_PROMPT}    timeout=${timeout}
     Flexible SSH Login    ${KARAF_USER}    ${KARAF_PASSWORD}
     Write    log:tail
     Read Until    ${message}