mirror of
https://github.com/schoebel/mars
synced 2025-01-01 11:52:25 +00:00
test_suite: fix: replace replay flag A with ${marsview_replay_flag}
This commit is contained in:
parent
947eb0db0c
commit
8214de52d0
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user