It used to be 0.1 seconds and turned out too less.
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I2776d8387aee8a55f325459999c8c9454dd2b4fa
Reviewed-on: http://review.whamcloud.com/5321
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
# open and sleep 2 seconds then read
$MULTIOP $DIR2/$tfile o_2r${filesize}c &
local pid=$!
- sleep 0.1
+ sleep 1
# create the layout of testing file
dd if=$origfile of=$DIR1/$tfile conv=notrunc > /dev/null
$LCTL set_param fail_loc=0x1404
stat -c %s $DIR2/$tfile |tee $tmpfile &
local pid=$!
- sleep 0.1
+ sleep 1
# create layout of testing file
dd if=/dev/zero of=$DIR1/$tfile bs=1k count=1 conv=notrunc > /dev/null
echo "Setting layout ..."
$LFS setstripe -c $OSTCOUNT $DIR1/$tfile &
pid=$!
- sleep 0.1
+ sleep 1
# get layout of this file should wait until dd is finished
local stripecnt=`$LFS getstripe -c $DIR2/$tfile`