mirror of
https://github.com/schoebel/mars
synced 2025-02-05 23:02:22 +00:00
test_suite: fix: stop writing before waiting for diskstate Uptodate
This commit is contained in:
parent
04edd9f7ef
commit
27ea88dc8b
@ -1034,13 +1034,13 @@ function resource_correct_emergency
|
||||
|
||||
marsadm_do_cmd $secondary_host "invalidate" $res
|
||||
|
||||
lib_rw_stop_writing_data_device $primary_host $writer_script "write_count"
|
||||
|
||||
lib_wait_for_initial_end_of_sync $primary_host $secondary_host $res \
|
||||
$resource_maxtime_initial_sync \
|
||||
$resource_time_constant_initial_sync \
|
||||
"time_waited"
|
||||
|
||||
lib_rw_stop_writing_data_device $primary_host $writer_script "write_count"
|
||||
|
||||
resource_check_resource_running $primary_host $secondary_host $res
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user