From e835226b17309ec21fd7b46cf397e5fd557049bd Mon Sep 17 00:00:00 2001 From: Jian Yu Date: Wed, 10 Dec 2014 11:56:03 -0800 Subject: [PATCH] LU-6016 tests: do not need start MDS in sanity-lfsck test 20a This patch removes "start $SINGLEMDS" and "mount_client $MOUNT" from sanity-lfsck test_20a() because these operations are already done in lfsck_prep(). Test-Parameters: alwaysuploadlogs envdefinitions=SLOW=yes,ENABLE_QUOTA=yes mdtfilesystemtype=ldiskfs mdsfilesystemtype=ldiskfs ostfilesystemtype=ldiskfs mdtcount=1 testlist=sanity-lfsck Signed-off-by: Jian Yu Change-Id: I75c77519c306c0f74db3441936935252cdedb774 Reviewed-on: http://review.whamcloud.com/13025 Reviewed-by: Yang Sheng Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Fan Yong Reviewed-by: Oleg Drokin --- lustre/tests/sanity-lfsck.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lustre/tests/sanity-lfsck.sh b/lustre/tests/sanity-lfsck.sh index a0c5247..fbb8cd6 100755 --- a/lustre/tests/sanity-lfsck.sh +++ b/lustre/tests/sanity-lfsck.sh @@ -980,11 +980,7 @@ test_20a() { echo "#####" lfsck_prep 0 0 - echo "start $SINGLEMDS" - start $SINGLEMDS $MDT_DEVNAME $MOUNT_OPTS_SCRUB > /dev/null || - error "(1) Fail to start MDS!" - mount_client $MOUNT || error "(2) Fail to start client!" $LFS mkdir -i 0 $DIR/$tdir/a1 if [ $OSTCOUNT -gt 2 ]; then $LFS setstripe -c 3 -i 0 -s 1M $DIR/$tdir/a1 -- 1.8.3.1