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
b=23515 recovery_*_scale tests need more than 2 clients
[fs/lustre-release.git]
/
lustre
/
tests
/
recovery-mds-scale.sh
diff --git
a/lustre/tests/recovery-mds-scale.sh
b/lustre/tests/recovery-mds-scale.sh
index
a4c874f
..
298debd
100644
(file)
--- a/
lustre/tests/recovery-mds-scale.sh
+++ b/
lustre/tests/recovery-mds-scale.sh
@@
-28,11
+28,13
@@
echo "--- env ---" >&2
set -x
[ "$SHARED_DIRECTORY" ] || \
set -x
[ "$SHARED_DIRECTORY" ] || \
- { skip "$0: Empty SHARED_DIRECTORY" && exit 0; }
+ { FAIL_ON_ERROR=true skip_env "$0 Empty SHARED_DIRECTORY" && exit 0; }
+
+[ -n "$CLIENTS" ] || \
+ { FAIL_ON_ERROR=true skip_env "$0 Need two or more remote clients" && exit 0; }
-[ -n "$CLIENTS" ] || { skip "$0 Need two or more remote clients" && exit 0; }
[ $CLIENTCOUNT -ge 3 ] || \
[ $CLIENTCOUNT -ge 3 ] || \
- {
skip "$0 Need two or more remote clients, have $CLIENTCOUNT
" && exit 0; }
+ {
FAIL_ON_ERROR=true skip_env "$0 Need two or more remote clients, have $((CLIENTCOUNT - 1))
" && exit 0; }
END_RUN_FILE=${END_RUN_FILE:-$SHARED_DIRECTORY/end_run_file}
LOAD_PID_FILE=${LOAD_PID_FILE:-$TMP/client-load.pid}
END_RUN_FILE=${END_RUN_FILE:-$SHARED_DIRECTORY/end_run_file}
LOAD_PID_FILE=${LOAD_PID_FILE:-$TMP/client-load.pid}