From 2971be2863af8d9bd545133930d31f0927e281e4 Mon Sep 17 00:00:00 2001 From: Luis Gomez Date: Thu, 11 Oct 2018 13:02:47 -0700 Subject: [PATCH] Fix netconf scale suite - Increase test tool REST timeout - Reduce REST request #. Reduces test duration and perf results are proven to be the same. Change-Id: I79a9c40947ef99cb5bc796383f8eaddc7499e823 Signed-off-by: Luis Gomez --- csit/suites/netconf/restperfclient/mdsal.robot | 4 ++-- csit/suites/netconf/restperfclient/performance.robot | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/csit/suites/netconf/restperfclient/mdsal.robot b/csit/suites/netconf/restperfclient/mdsal.robot index ec0e733d75..1932c928b1 100644 --- a/csit/suites/netconf/restperfclient/mdsal.robot +++ b/csit/suites/netconf/restperfclient/mdsal.robot @@ -33,7 +33,7 @@ Variables ${CURDIR}/../../../variables/Variables.py *** Variables *** ${DIRECTORY_WITH_TEMPLATE_FOLDERS} ${CURDIR}/../../../variables/netconf/RestPerfClient -${REQUEST_COUNT} 65536 +${REQUEST_COUNT} 16384 ${device_type} full-uri-device ${test_device} odl-mdsal-northbound-via-netconf-connector @@ -119,7 +119,7 @@ Setup_Everything # Calculate timeouts ${value}= BuiltIn.Evaluate ${REQUEST_COUNT}/50+10 Utils.Set_User_Configurable_Variable_Default DIRECT_MDSAL_TIMEOUT ${value} s - ${value}= BuiltIn.Evaluate ${REQUEST_COUNT}/10+10 + ${value}= BuiltIn.Evaluate ${REQUEST_COUNT}/10+20 Utils.Set_User_Configurable_Variable_Default NETCONF_CONNECTOR_MDSAL_TIMEOUT ${value} s Teardown_Everything diff --git a/csit/suites/netconf/restperfclient/performance.robot b/csit/suites/netconf/restperfclient/performance.robot index b901acb439..404a2165f8 100644 --- a/csit/suites/netconf/restperfclient/performance.robot +++ b/csit/suites/netconf/restperfclient/performance.robot @@ -35,7 +35,7 @@ Variables ${CURDIR}/../../../variables/Variables.py *** Variables *** ${DEVICE_NAME} ${FIRST_TESTTOOL_PORT}-sim-device -${REQUEST_COUNT} 65536 +${REQUEST_COUNT} 16384 ${directory_with_crud_templates} ${CURDIR}/../../../variables/netconf/CRUD ${device_type} full-uri-device @@ -86,7 +86,7 @@ Cleanup_And_Collect Setup_Everything [Documentation] Setup everything needed for the test cases. # Calculate and set the value of the timeout - ${value}= BuiltIn.Evaluate ${REQUEST_COUNT}/15+10 + ${value}= BuiltIn.Evaluate ${REQUEST_COUNT}/10+20 Utils.Set_User_Configurable_Variable_Default TESTTOOL_DEVICE_TIMEOUT ${value} s # Setup resources used by the suite. SetupUtils.Setup_Utils_For_Setup_And_Teardown -- 2.36.6