test_suite: remove superfluous test cases

This commit is contained in:
Frank Liepold 2014-01-08 13:16:27 +01:00
parent e57cdfd635
commit 99b10230da
20 changed files with 3 additions and 4 deletions

View File

@ -75,7 +75,7 @@ switch2primary_logrotate_split_brain_orig_secondary=0
## flags whether marsadm log-rotate and log-delete should be called during
## the test of the new primary
## primary resp. secondary
switch2primary_logrotate_new_primary=0
switch2primary_logrotate_new_primary=1
## prefix of the name of the script, which writes some data on
## the data devices of the both primaries

View File

@ -125,7 +125,7 @@ function switch2primary_run
# switch2primary_orig_prim_equal_new_prim = 0
# ---- the replication should work now with original roles if
# switch2primary_orig_prim_equal_new_prim = 0 and after
# marsadm primary --force on orig_primary
# marsadm primary on orig_primary
# Otherwise we should have a real split brain and should be able to write on
# both data devices. The process flow continues:
#
@ -170,9 +170,8 @@ function switch2primary_force
lib_vmsg " ${FUNCNAME[0]}: write_count: $write_count"
if [ $switch2primary_orig_primary_alive -eq 1 ]; then
# TODO: remove superfluous test cases
if [ $switch2primary_orig_prim_equal_new_prim -eq 1 ]; then
marsadm_do_cmd $new_primary "--force primary" "$res" || lib_exit 1
marsadm_do_cmd $new_primary "primary" "$res" || lib_exit 1
fi
switch2primary_check_replication $new_primary $new_secondary $res
return