Whamcloud - gitweb
LU-6016 tests: do not need start MDS in sanity-lfsck test 20a 25/13025/3
authorJian Yu <jian.yu@intel.com>
Wed, 10 Dec 2014 19:56:03 +0000 (11:56 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 21 Dec 2014 15:40:12 +0000 (15:40 +0000)
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 <jian.yu@intel.com>
Change-Id: I75c77519c306c0f74db3441936935252cdedb774
Reviewed-on: http://review.whamcloud.com/13025
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-lfsck.sh

index a0c5247..fbb8cd6 100755 (executable)
@@ -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