Add a workaroud for EOF error to netconf readiness suite 15/45415/2
authorVratko Polak <vrpolak@cisco.com>
Fri, 9 Sep 2016 09:55:39 +0000 (11:55 +0200)
committerLuis Gomez <ecelgp@gmail.com>
Fri, 9 Sep 2016 14:53:17 +0000 (14:53 +0000)
Change-Id: I73de79d9509728f6c281dd1ea4887101c4a9e9e0
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
csit/suites/netconf/ready/netconfready.robot

index e7bf4e11d7aa0608591350f9fdcb4bc08b1d46a4..86f8be7636a406d146fea4263e48a37e6121a3df 100644 (file)
@@ -106,7 +106,8 @@ Setup_Everything
     [Documentation]    Setup requests library and log into karaf.log that the netconf readiness wait starts.
     ${connector}=    BuiltIn.Set_Variable_If    ${USE_NETCONF_CONNECTOR}    /node/controller-config/yang-ext:mount/config:modules/module/odl-sal-netconf-connector-cfg:sal-netconf-connector/controller-config    ${EMPTY}
     BuiltIn.Set_Suite_Variable    ${netconf_connector}    ${connector}
-    KarafKeywords.Open_Controller_Karaf_Console_On_Background
+    BuiltIn.Comment    A workaround for EOF error follows. TODO: Create a test case for the EOF bug, possibly tagged "exclude".
+    BuiltIn.Wait_Until_Keyword_Succeeds    2x    1s    KarafKeywords.Open_Controller_Karaf_Console_On_Background
     KarafKeywords.Log_Message_To_Controller_Karaf    Starting Netconf readiness test suite
     BuiltIn.Run_Keyword_If    ${DEBUG_LOGGING_FOR_EVERYTHING}    KarafKeywords.Execute_Controller_Karaf_Command_On_Background    log:set DEBUG
     RequestsLibrary.Create_Session    ses    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}