test_suite: fix: replace replay flag A with ${marsview_replay_flag}

This commit is contained in:
Frank Liepold 2014-03-19 14:39:12 +01:00 committed by Thomas Schoebel-Theuer
parent 947eb0db0c
commit 8214de52d0
2 changed files with 5 additions and 3 deletions

View File

@ -99,7 +99,7 @@ function replay_fetch_run
$length_logfile
marsview_wait_for_state $secondary_host $res "disk" \
"Outdated\[.*A.*\]" \
"Outdated\[.*${marsview_replay_flag}.*\]" \
$marsview_wait_for_state_time
marsview_wait_for_state $secondary_host $res "repl" "-SF--" \
$marsview_wait_for_state_time || lib_exit 1

View File

@ -52,7 +52,8 @@ function syslog_run
"time_waited" 0 ""
lib_vmsg " ${FUNCNAME[0]}: replay time: $time_waited"
marsview_wait_for_state $secondary_host $res "disk" "Outdated\[.*A.*\]" \
marsview_wait_for_state $secondary_host $res "disk" \
"Outdated\[.*${marsview_replay_flag}.*\]" \
$marsview_wait_for_state_time
marsview_wait_for_state $secondary_host $res "repl" '-SF--' \
$marsview_wait_for_state_time || lib_exit 1
@ -61,7 +62,8 @@ function syslog_run
"write_count"
main_error_recovery_functions["lib_rw_stop_scripts"]=
lib_wait_until_fetch_stops "replay_fetch" $secondary_host $primary_host \
lib_wait_until_fetch_stops "replay_fetch" \
$secondary_host $primary_host \
$res "logfile" "length_logfile" \
"time_waited" 0 ""
lib_vmsg " ${FUNCNAME[0]}: fetch time: $time_waited"