Allow setting a boundary for the test burn in script
#!/bin/sh
# Run this script from the project root directory.
# It will run core module tests in burn in mode (i.e. untill they fail or this scritp is manually terminated)
-for (( i = 1; ; i++ ))
+
+repeat=${1:-99}
+for (( i = 1; i < $repeat ; i++ ))
do
- echo "Attempt $i"
+ echo "Attempt $i of $repeat"
./mvnw -DskipIntegrationTests=false test -pl tests -am
exitcode=$?
if [ $exitcode -ne 0 ]
