From 993ee2b870bdc6b2bcad823c7fdc8d37f77ea575 Mon Sep 17 00:00:00 2001
From: anserper <anserper>
Date: Wed, 3 Dec 2008 16:33:25 +0000
Subject: [PATCH] Branch b1_6 b=17371 i=Andreas Dilger

move the cleanup/setup test to the end of the series
---
 lustre/tests/sanity.sh | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh
index 3a7a47bf9c..29c6f2d2c3 100644
--- a/lustre/tests/sanity.sh
+++ b/lustre/tests/sanity.sh
@@ -5512,7 +5512,11 @@ test_140() { #bug-17379
 }
 run_test 140 "Check reasonable stack depth (shouldn't LBUG) ===="
 
-test_141() {
+#
+# 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
@@ -5523,7 +5527,7 @@ test_141() {
         FAIL_ON_ERROR=true cleanup
         FAIL_ON_ERROR=true setup
 }
-run_test 141 "umount should not race with any mgc requeue thread"
+run_test 900 "umount should not race with any mgc requeue thread"
 
 log "cleanup: ======================================================"
 check_and_cleanup_lustre
-- 
GitLab