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-1804 tests: skip OI scrub speed test under UP env
[fs/lustre-release.git]
/
lustre
/
tests
/
sanity-scrub.sh
diff --git
a/lustre/tests/sanity-scrub.sh
b/lustre/tests/sanity-scrub.sh
index
2706f36
..
1ce2737
100644
(file)
--- a/
lustre/tests/sanity-scrub.sh
+++ b/
lustre/tests/sanity-scrub.sh
@@
-482,6
+482,11
@@
test_8() {
run_test 8 "Control OI scrub manually"
test_9() {
run_test 8 "Control OI scrub manually"
test_9() {
+ if [ -z "$(grep "processor.*: 1" /proc/cpuinfo)" ]; then
+ skip "Testing on UP system, the speed may be inaccurate."
+ return 0
+ fi
+
scrub_prep 8000
mds_backup_restore || error "(1) Fail to backup/restore!"
scrub_prep 8000
mds_backup_restore || error "(1) Fail to backup/restore!"