- 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>
*** 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
# 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
*** 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
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