Whamcloud - gitweb
LU-8277 scripts: add missing commas in checkpatch.pl
[fs/lustre-release.git] / lustre / tests / insanity.sh
index 32701f9..cadaaea 100755 (executable)
@@ -173,6 +173,9 @@ run_test 0 "Fail all nodes, independently"
 test_1() {
        [ $MDSCOUNT -lt 2 ] && skip "needs >= 2 MDTs" && return
 
+       [ "$(facet_fstype mds2)" = "zfs" ] &&
+               skip "LU-2059: no local config for ZFS MDTs" && return
+
        clients_up
 
        shutdown_facet mds1
@@ -209,10 +212,7 @@ test_2() {
        echo "Verify Lustre filesystem is up and running"
        [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
 
-       [ "$(facet_fstype ost1)" = "zfs" ] &&
-               skip "LU-2059: no local config for ZFS OSTs" && return
-
-    clients_up
+       clients_up
 
        for i in $(seq $MDSCOUNT) ; do
                shutdown_facet mds$i
@@ -286,9 +286,6 @@ run_test 3  "Thirdb Failure Mode: MDS/CLIENT `date`"
 test_4() {
        echo "Fourth Failure Mode: OST/MDS `date`"
 
-       [ "$(facet_fstype ost1)" = "zfs" ] &&
-               skip "LU-2059: no local config for ZFS OSTs" && return
-
     #OST Portion
     shutdown_facet ost1