From 78a226dfcffbbccf51e28f9331cbe75a70a0c7e4 Mon Sep 17 00:00:00 2001 From: Frank Liepold Date: Wed, 16 Apr 2014 09:07:33 +0200 Subject: [PATCH] test_suite: fix: wait for end of sync only --- test_suite/mars/modules/resource.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test_suite/mars/modules/resource.sh b/test_suite/mars/modules/resource.sh index af821958..8866145b 100644 --- a/test_suite/mars/modules/resource.sh +++ b/test_suite/mars/modules/resource.sh @@ -277,10 +277,10 @@ function resource_fill_mars_dir "writer_script" 0 3 $res "" marsadm_do_cmd $secondary_host "invalidate" $res - lib_wait_for_initial_end_of_sync $primary_host $secondary_host $res \ - $resource_maxtime_initial_sync \ - $resource_time_constant_initial_sync \ - "time_waited" + lib_wait_until_action_stops "syncstatus" $secondary_host $res \ + $resource_maxtime_initial_sync \ + $resource_time_constant_initial_sync \ + "time_waited" 0 "" lib_rw_stop_writing_data_device $primary_host $writer_script "write_count" \ $res