diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh
index 3a7a47bf9cba753a7c04e3931177361d99982f19..29c6f2d2c3fff380384f0797b42f81219d97b73f 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