From: John L. Hammond Date: Mon, 11 May 2015 18:00:16 +0000 (-0500) Subject: LU-4672 test: use large files in sanity-hsm tests 54 and 55 X-Git-Tag: 2.7.54~10 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=a665f0742a8ace6d23fd52f3b805bd8ebd8fc3ee;p=fs%2Flustre-release.git LU-4672 test: use large files in sanity-hsm tests 54 and 55 In sanity-hsm test_54() and test_55() use make_large_for_progress() rather than make_small() so that the archives do not complete too quickly for the tests to function correctly. Signed-off-by: John L. Hammond Change-Id: Ic46ff5e2f92497808be791201759e250ebbbfe7c Reviewed-on: http://review.whamcloud.com/14759 Tested-by: Jenkins Reviewed-by: Henri Doreau Reviewed-by: frank zago Reviewed-by: Jinshan Xiong Reviewed-by: Andreas Dilger Tested-by: Andreas Dilger --- diff --git a/lustre/tests/sanity-hsm.sh b/lustre/tests/sanity-hsm.sh index cd5116c..c777e32 100755 --- a/lustre/tests/sanity-hsm.sh +++ b/lustre/tests/sanity-hsm.sh @@ -2635,7 +2635,7 @@ test_54() { mkdir -p $DIR/$tdir local f=$DIR/$tdir/$tfile - local fid=$(make_small $f) + local fid=$(make_large_for_progress $f) $LFS hsm_archive --archive $HSM_ARCHIVE_NUMBER $f || error "could not archive file" @@ -2663,7 +2663,7 @@ test_55() { mkdir -p $DIR/$tdir local f=$DIR/$tdir/$tfile - local fid=$(make_small $f) + local fid=$(make_large_for_progress $f) $LFS hsm_archive --archive $HSM_ARCHIVE_NUMBER $f || error "could not archive file"