From 3f8e9f557b48b7b455e1a0c75da200ce9d47778f Mon Sep 17 00:00:00 2001 From: Jozef Behran Date: Mon, 22 Feb 2016 14:36:35 +0100 Subject: [PATCH 1/1] 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 --- csit/suites/netconf/restperfclient/performance.robot | 2 ++ 1 file changed, 2 insertions(+) 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. -- 2.36.6