Permalink
Browse files

Thinko fixed.

  • Loading branch information...
1 parent 133b132 commit 87569c0647e823f08792cf8d7fefcf0f34a18749 @sam-falvo sam-falvo committed Oct 11, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/run.sh
View
@@ -3,7 +3,7 @@ CWD=`dirname $0`
CWD=`cd "$APP_DIR";pwd`
START=$(date +%s)
-"${CWD}/bin/whiskey" --independent-tests "${CWD}/example/test-long-running-1.js ${CWD}/example/test-long-running-2.js"
+"${CWD}/bin/whiskey" -m 2 --independent-tests "${CWD}/example/test-long-running-1.js ${CWD}/example/test-long-running-2.js"
if [ $? -ne 0 ]; then
echo "long-running tests should pass"
exit 1
@@ -12,6 +12,7 @@ END=$(date +%s)
DIFF=$(( $END - $START ))
if [ $DIFF -ge 6 ]; then
echo "Total test execution time should be less than 6 seconds (assuming code hasn't been changed.)"
+ exit 1
fi
"${CWD}/bin/whiskey" --independent-tests "${CWD}/example/test-long-running-1.js ${CWD}/example/test-long-running-2.js ${CWD}/example/test-failure.js"

0 comments on commit 87569c0

Please sign in to comment.