mirror of
https://github.com/schoebel/mars
synced 2025-01-01 11:52:25 +00:00
test_suite: fix: don't remove 5.mars.total.log too early.
This commit is contained in:
parent
5a7c6942ea
commit
67ec9b3d96
@ -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
|
||||
|
@ -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" \
|
||||
|
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user