Fix netconf scale suite 12/76912/3
authorLuis Gomez <ecelgp@gmail.com>
Thu, 11 Oct 2018 20:02:47 +0000 (13:02 -0700)
committerJamo Luhrsen <jluhrsen@redhat.com>
Fri, 12 Oct 2018 15:39:17 +0000 (15:39 +0000)
- 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 <ecelgp@gmail.com>
csit/suites/netconf/restperfclient/mdsal.robot
csit/suites/netconf/restperfclient/performance.robot

index ec0e733d75eaf292347e7ee7d6bce911522e0e2d..1932c928b13b7ae37adac2a1c86607e746309164 100644 (file)
@@ -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
index b901acb43901fab8b037c700b90a1c29072ab50f..404a2165f866d39952c6770b374530bd77b75d9d 100644 (file)
@@ -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