Change ddb reboot suites to set and expect false
[integration/test.git] / csit / suites / controller / dom_data_broker / restart_odl_with_tell_based_false.robot
index a168e8451c7d67d718cdb1e995fed8f6d729c2f0..2254b76bceeb7f18b6a0f9f5d75e7fa92dfb802d 100644 (file)
@@ -16,6 +16,7 @@ Library           SSHLibrary
 Resource          ${CURDIR}/../../../libraries/ClusterManagement.robot
 Resource          ${CURDIR}/../../../libraries/ShardStability.robot
 Resource          ${CURDIR}/../../../libraries/SetupUtils.robot
+Resource          ${CURDIR}/../../../libraries/controller/DdbCommons.robot
 
 *** Variables ***
 ${DATASTORE_CFG}    /${WORKSPACE}/${BUNDLEFOLDER}/etc/org.opendaylight.controller.cluster.datastore.cfg
@@ -27,7 +28,7 @@ Kill_All_Members
 
 Unset_Tell_Based_Protocol_Usage
     [Documentation]    Comment out the flag usage in config file. Also clean most data except data/log/.
-    ClusterManagement.Check_Bash_Command_On_List_Or_All    sed -ie "s/^use-tell-based-protocol=/#use-tell-based-protocol=/g" ${DATASTORE_CFG}
+    DdbCommons.Change_Use_Tell_Based_Protocol    False    ${DATASTORE_CFG}
     ClusterManagement.Check_Bash_Command_On_List_Or_All    cat ${DATASTORE_CFG}
     ClusterManagement.Clean_Directories_On_List_Or_All    tmp_dir=/tmp