Enable ro_props_001_pos

This script was disabled as the avail/used space changed slightly.
Add sync_pool() and a short delay after snapshots are created to
ensure everything in flight has been written.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: ChaoyuZhang <zhang.chaoyu@zte.com.cn>
Closes #5201 
Closes #5419
This commit is contained in:
ChaoyuZhang
2016-12-01 02:27:04 +08:00
committed by Brian Behlendorf
parent 2d44b04b79
commit ce43e88dd6
2 changed files with 4 additions and 2 deletions
@@ -72,6 +72,8 @@ log_onexit cleanup
# Create filesystem and volume's snapshot
create_snapshot $TESTPOOL/$TESTFS $TESTSNAP
create_snapshot $TESTPOOL/$TESTVOL $TESTSNAP
sync_pool $TESTPOOL
$SLEEP 5
typeset -i i=0
typeset -i j=0