Clean data when switching tell-base protocol.
[integration/test.git] / csit / suites / controller / dom_data_broker / restart_odl_with_tell_based_false.robot
index a21a5be483d3c8cf0c63e5f22376850d2a059c5d..2caf4a17f4357c9f0e2bf1edc3b0386d844b9c1c 100644 (file)
@@ -26,9 +26,10 @@ Kill_All_Members
     ClusterManagement.Kill_Members_From_List_Or_All
 
 Unset_Tell_Based_Protocol_Usage
-    [Documentation]    Comment out the flag usage in config file.
-    ClusterManagement.Run_Bash_Command_On_List_Or_All    sed -ie "s/use-tell-based-protocol=/#use-tell-based-protocol=/g" ${DATASTORE_CFG}
-    ClusterManagement.Run_Bash_Command_On_List_Or_All    cat ${DATASTORE_CFG}
+    [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}
+    ClusterManagement.Check_Bash_Command_On_List_Or_All    cat ${DATASTORE_CFG}
+    ClusterManagement.Clean_Directories_On_List_Or_All    tmp_dir=/tmp
 
 Start_All_And_Sync
     [Documentation]    Start each member and wait for sync.