Rework of Restperfclient__Invoke_With_Timeout kw to avoid broken ssh session
[integration/test.git] / csit / suites / netconf / restperfclient / mdsal.robot
index 00c5725a44a09e00c785e5814102e58b4f0ec294..ec0e733d75eaf292347e7ee7d6bce911522e0e2d 100644 (file)
@@ -34,7 +34,7 @@ Variables         ${CURDIR}/../../../variables/Variables.py
 *** Variables ***
 ${DIRECTORY_WITH_TEMPLATE_FOLDERS}    ${CURDIR}/../../../variables/netconf/RestPerfClient
 ${REQUEST_COUNT}    65536
-${device_type}    default
+${device_type}    full-uri-device
 ${test_device}    odl-mdsal-northbound-via-netconf-connector
 
 *** Test Cases ***
@@ -114,6 +114,8 @@ Setup_Everything
     SetupUtils.Setup_Utils_For_Setup_And_Teardown
     NetconfKeywords.Setup_Netconf_Keywords
     RestPerfClient.Setup_Restperfclient
+    ${device_type}=    BuiltIn.Set_Variable_If    ${USE_NETCONF_CONNECTOR}==${True}    default    ${device_type}
+    BuiltIn.Set_Suite_Variable    ${device_type}
     # Calculate timeouts
     ${value}=    BuiltIn.Evaluate    ${REQUEST_COUNT}/50+10
     Utils.Set_User_Configurable_Variable_Default    DIRECT_MDSAL_TIMEOUT    ${value} s