mirror of https://github.com/schoebel/mars
test_suite: fix: mount before write
This commit is contained in:
parent
f8a8abcd44
commit
b99ee3ab24
|
@ -117,6 +117,7 @@ function resize_check_resize_post_conditions
|
|||
|
||||
local should_fail=0 test_file
|
||||
if [ $resource_fs_on_data_device_necessary -eq 1 ]; then
|
||||
mount_mount_data_device $primary_host $res
|
||||
test_file=$(resource_get_mountpoint $res)/resize_test
|
||||
rm_test_file=1
|
||||
else
|
||||
|
@ -133,6 +134,8 @@ function resize_check_resize_post_conditions
|
|||
fi
|
||||
done
|
||||
|
||||
mount_umount_data_device $primary_host $res
|
||||
|
||||
lib_wait_for_secondary_to_become_uptodate_and_cmp_cksums "resize" \
|
||||
$secondary_host $primary_host $res \
|
||||
$dev $mars_data_dev_size
|
||||
|
|
Loading…
Reference in New Issue