Whamcloud - gitweb
LU-10560 llite: remove extra headers from llite_mmap.c
[fs/lustre-release.git] / lustre / tests / insanity.sh
index cadaaea..29cfab4 100755 (executable)
@@ -173,9 +173,6 @@ 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
@@ -331,26 +328,25 @@ run_test 4 "Fourth Failure Mode: OST/MDS `date`"
 
 ############### Fifth Failure Mode ###############
 test_5() {
-    [ $OSTCOUNT -lt 2 ] && skip_env "$OSTCOUNT < 2, not enough OSTs" && return 0
+       [ $OSTCOUNT -lt 2 ] && skip_env "needs >= 2 OSTs" && return 0
 
-    echo "Fifth Failure Mode: OST/OST `date`"
+       echo "Fifth Failure Mode: OST/OST `date`"
 
-    #Create files
-    echo "Verify Lustre filesystem is up and running"
-    [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
+       #Create files
+       echo "Verify Lustre filesystem is up and running"
+       [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
+
+       clients_up
+       #OST Portion
+       shutdown_facet ost1
+       reboot_facet ost1
 
-    clients_up
-    
-    #OST Portion
-    shutdown_facet ost1
-    reboot_facet ost1
-    
     #Check FS
     echo "Test Lustre stability after OST failure"
     clients_up &
     DFPIDA=$!
     sleep 5
-    
+
     #OST Portion
     shutdown_facet ost2
     reboot_facet ost2
@@ -367,7 +363,7 @@ test_5() {
     start_ost 1
     wait_for_facet ost2
     start_ost 2
-    
+
     clients_recover_osts ost1
     clients_recover_osts ost2
     sleep $TIMEOUT