From: Jozef Behran Date: Mon, 22 Feb 2016 13:36:35 +0000 (+0100) Subject: Fix insufficient check for failed requests X-Git-Tag: release/beryllium-sr1~66 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F91%2F35191%2F2;hp=f33441884ffe43d43c64bb5c198ac3c6550d4b8f;p=integration%2Ftest.git Fix insufficient check for failed requests Some request failures are reported with "Status code: XYZ" where "XYZ" is some error status code. This is not caught by the failed requests checking test case, leading to a spurious test pass. Change-Id: Icbc32036590fcff86ca025deef4dcc1e1a3226b4 Signed-off-by: Jozef Behran --- diff --git a/csit/suites/netconf/restperfclient/performance.robot b/csit/suites/netconf/restperfclient/performance.robot index fa5506a35a..3f47865a6b 100644 --- a/csit/suites/netconf/restperfclient/performance.robot +++ b/csit/suites/netconf/restperfclient/performance.robot @@ -86,6 +86,8 @@ Check_For_Failed_Requests ... we don't want to test performance of ODL rejecting our requests. ${result}= SSHLibrary.Execute_Command grep "Request failed" ${restperfclientlog} BuiltIn.Should_Be_Equal '${result}' '' + ${result}= SSHLibrary.Execute_Command grep "Status code" ${restperfclientlog} + BuiltIn.Should_Be_Equal '${result}' '' Deconfigure_Device_From_Netconf [Documentation] Deconfigure the testtool device on Netconf connector.