Whamcloud - gitweb
b=15711
authorgrev <grev>
Wed, 22 Oct 2008 19:26:12 +0000 (19:26 +0000)
committergrev <grev>
Wed, 22 Oct 2008 19:26:12 +0000 (19:26 +0000)
i=Johann
recovery-small exception for FAILURE_MODE=HARD and mixed ost devices

lustre/tests/recovery-small.sh

index 07769d9..40e28f7 100755 (executable)
@@ -11,6 +11,13 @@ LUSTRE=${LUSTRE:-`dirname $0`/..}
 init_test_env $@
 . ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
 
+if [ "$FAILURE_MODE" = "HARD" ] && mixed_ost_devs; then
+    CONFIG_EXCEPTIONS="52"
+    echo -n "Several ost services on one ost node are used with FAILURE_MODE=$FAILURE_MODE. "
+    echo "Except the tests: $CONFIG_EXCEPTIONS"
+    ALWAYS_EXCEPT="$ALWAYS_EXCEPT $CONFIG_EXCEPTIONS"
+fi
+
 # also long tests: 19, 21a, 21e, 21f, 23, 27
 #                                   1  2.5  2.5    4    4          (min)"
 [ "$SLOW" = "no" ] && EXCEPT_SLOW="17  26a  26b    50   51     57"