Don't clobber racer's DURATION if SLOW is not set to no.
Test-Parameters: envdefinitions=SLOW=yes \
testlist=racer,racer,racer,racer,racer,racer
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I86c7f54e3fb7a06388d7083001a80b91d09ac27d
Reviewed-on: http://review.whamcloud.com/5741
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
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