Fix sed command to set tell-based setting
[integration/test.git] / csit / suites / controller / dom_data_broker / restart_odl_with_tell_based_true.robot
index 8c037468f0302e336d5d1f0dc6c2f7d3c5eb5f6f..9a5bb932596107aa64d3e6b2246079ebd2d89656 100644 (file)
@@ -27,7 +27,7 @@ Kill_All_Members
 
 Set_Tell_Based_Protocol_Usage
     [Documentation]    Un-comment 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}
+    ClusterManagement.Check_Bash_Command_On_List_Or_All    sed -ie "s/^#use-tell-based-protocol=/use-tell-based-protocol=/g" ${DATASTORE_CFG}
     ClusterManagement.Check_Bash_Command_On_List_Or_All    cat ${DATASTORE_CFG}
     ClusterManagement.Clean_Directories_On_List_Or_All    tmp_dir=/tmp