test_suite: fix: don't remove 5.mars.total.log too early.

This commit is contained in:
Frank Liepold 2014-04-02 09:23:13 +02:00
parent 5a7c6942ea
commit 67ec9b3d96
3 changed files with 1 additions and 4 deletions

View File

@ -239,7 +239,7 @@ function cluster_create_debugfiles
{
local host=$1
lib_vmsg " creating debugfile $lib_err_total_log_file"
lib_remote_idfile $host "touch $lib_err_total_log_file" || lib_exit 1
lib_remote_idfile $host "> $lib_err_total_log_file" || lib_exit 1
}
function cluster_remove_debugfiles

View File

@ -36,7 +36,6 @@ function perftest_run
perftest_check_variables
cluster_remove_debugfiles $primary_host
cluster_create_debugfiles $primary_host
perftest_prepare_${perftest_action} $primary_host $secondary_host $res \
@ -437,7 +436,6 @@ function perftest_prepare_resource
{
local res=$1 secondary_host=$2
resource_mount_mars_and_rm_resource_dir_all $res
cluster_remove_debugfiles $secondary_host
cluster_create_debugfiles $secondary_host
resource_run_first
marsview_wait_for_state $secondary_host $res "disk" "Uptodate" \

View File

@ -31,7 +31,6 @@ function remote_dev_run
mount_mount_data_device $primary_host $res
resource_clear_data_device $primary_host $res
cluster_remove_debugfiles $primary_host
cluster_create_debugfiles $primary_host
lib_rw_start_writing_data_device $primary_host "writer_pid" \