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-6635 lfsck: block replacing the OST-object for test
[fs/lustre-release.git]
/
lustre
/
tests
/
racer.sh
diff --git
a/lustre/tests/racer.sh
b/lustre/tests/racer.sh
index
45cc384
..
cf699cd
100644
(file)
--- a/
lustre/tests/racer.sh
+++ b/
lustre/tests/racer.sh
@@
-12,8
+12,11
@@
init_logging
racer=$LUSTRE/tests/racer/racer.sh
echo racer: $racer with $MDSCOUNT MDTs
racer=$LUSTRE/tests/racer/racer.sh
echo racer: $racer with $MDSCOUNT MDTs
-DURATION=${DURATION:-900}
-[ "$SLOW" = "no" ] && DURATION=300
+if [ "$SLOW" = "no" ]; then
+ DURATION=${DURATION:-300}
+else
+ DURATION=${DURATION:-900}
+fi
MOUNT_2=${MOUNT_2:-"yes"}
build_test_filter
MOUNT_2=${MOUNT_2:-"yes"}
build_test_filter
@@
-55,7
+58,7
@@
test_1() {
local rpids=""
for rdir in $RDIRS; do
do_nodes $clients "DURATION=$DURATION MDSCOUNT=$MDSCOUNT \
local rpids=""
for rdir in $RDIRS; do
do_nodes $clients "DURATION=$DURATION MDSCOUNT=$MDSCOUNT \
- $racer $rdir $NUM_RACER_THREADS" &
+
LFS=$LFS
$racer $rdir $NUM_RACER_THREADS" &
pid=$!
rpids="$rpids $pid"
done
pid=$!
rpids="$rpids $pid"
done