Whamcloud - gitweb
Branch HEAD
authoranserper <anserper>
Wed, 3 Dec 2008 16:45:57 +0000 (16:45 +0000)
committeranserper <anserper>
Wed, 3 Dec 2008 16:45:57 +0000 (16:45 +0000)
b=17371
i=Andreas Dilger

move the cleanup/setup test to the end of the series

lustre/tests/sanity.sh

index ce38f13..a7437dc 100644 (file)
@@ -5726,19 +5726,6 @@ test_140() { #bug-17379
 }
 run_test 140 "Check reasonable stack depth (shouldn't LBUG) ===="
 
-test_141() {
-        local ls
-        #define OBD_FAIL_MGC_PAUSE_PROCESS_LOG   0x903
-        $LCTL set_param fail_loc=0x903
-        # cancel_lru_locks mgc - does not work due to lctl set_param syntax
-        for ls in /proc/fs/lustre/ldlm/namespaces/MGC*/lru_size; do
-                echo "clear" > $ls
-        done
-        FAIL_ON_ERROR=true cleanup
-        FAIL_ON_ERROR=true setup
-}
-run_test 141 "umount should not race with any mgc requeue thread"
-
 test_150() {
        local TF="$TMP/$tfile"
 
@@ -5987,6 +5974,23 @@ test_212() {
 }
 run_test 212 "Sendfile test ============================================"
 
+#
+# tests that do cleanup/setup should be run at the end
+#
+
+test_900() {
+        local ls
+        #define OBD_FAIL_MGC_PAUSE_PROCESS_LOG   0x903
+        $LCTL set_param fail_loc=0x903
+        # cancel_lru_locks mgc - does not work due to lctl set_param syntax
+        for ls in /proc/fs/lustre/ldlm/namespaces/MGC*/lru_size; do
+                echo "clear" > $ls
+        done
+        FAIL_ON_ERROR=true cleanup
+        FAIL_ON_ERROR=true setup
+}
+run_test 900 "umount should not race with any mgc requeue thread"
+
 log "cleanup: ======================================================"
 check_and_cleanup_lustre
 if [ "$I_MOUNTED" != "yes" ]; then