Created
November 21, 2017 02:55
-
-
Save jasobrown/b293aaa989bf86c3a0d1e0bef1541e5b to your computer and use it in GitHub Desktop.
run a dtest, in a loop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TEST_NAME=$1 | |
echo "&&&&&& going to dtest $TEST_NAME &&&&&&&&&&" | |
OUT="/tmp/junit-$TEST_NAME.log" | |
cd $DTEST_HOME | |
for i in `seq 1 50`; do | |
echo "******** $i -- $(date) ************" | |
KEEP_TEST_DIR=true CASSANDRA_DIR=$CASSANDRA_HOME LOCAL_GIT_REPO=$CASSANDRA_HOME ./run_dtests.py --vnodes false --nose-options "-v -s" $TEST_NAME | |
if [ 0 != $? ]; then | |
echo "------- GOT A FAILURE!!!!! ---------" | |
exit -1 | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment