Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-12747 tests: wait properly for orhpan thread stop
[fs/lustre-release.git]
/
lustre
/
tests
/
sanity.sh
diff --git
a/lustre/tests/sanity.sh
b/lustre/tests/sanity.sh
index
5ad991c
..
8ac8138
100755
(executable)
--- a/
lustre/tests/sanity.sh
+++ b/
lustre/tests/sanity.sh
@@
-22681,8
+22681,7
@@
test_811() {
stop mds1
start mds1 $(mdsdevname 1) $MDS_MOUNT_OPTS
stop mds1
start mds1 $(mdsdevname 1) $MDS_MOUNT_OPTS
- sleep 5
- [[ $(do_facet mds1 pgrep orph_.*-MDD | wc -l) -eq 0 ]] ||
+ wait_update_facet mds1 "pgrep orph_.*-MDD | wc -l" "0" ||
error "MDD orphan cleanup thread not quit"
}
run_test 811 "orphan name stub can be cleaned up in startup"
error "MDD orphan cleanup thread not quit"
}
run_test 811 "orphan name stub can be cleaned up in startup"