Skip to content
Snippets Groups Projects
Commit e8274d1f authored by Elena Gryaznova's avatar Elena Gryaznova
Browse files

b=17761

i=Adilger
i=Johann
test_6 fix
parent 80f1cc16
No related branches found
No related tags found
No related merge requests found
...@@ -141,6 +141,8 @@ test_6() { ...@@ -141,6 +141,8 @@ test_6() {
before=`kbytesfree` before=`kbytesfree`
dd if=/dev/urandom bs=4096 count=1280 of=$f || return 28 dd if=/dev/urandom bs=4096 count=1280 of=$f || return 28
lfs getstripe $f lfs getstripe $f
get_stripe_info client $f
sync sync
sleep 2 # ensure we have a fresh statfs sleep 2 # ensure we have a fresh statfs
sync sync
...@@ -150,7 +152,7 @@ test_6() { ...@@ -150,7 +152,7 @@ test_6() {
log "before: $before after_dd: $after_dd" log "before: $before after_dd: $after_dd"
(( $before > $after_dd )) || return 1 (( $before > $after_dd )) || return 1
rm -f $f rm -f $f
fail ost1 fail ost$((stripe_index + 1))
$CHECKSTAT -t file $f && return 2 || true $CHECKSTAT -t file $f && return 2 || true
sync sync
# let the delete happen # let the delete happen
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment