diff --git a/parallel_test.sh b/parallel_test.sh index 475488f..5bb6261 100755 --- a/parallel_test.sh +++ b/parallel_test.sh @@ -5,7 +5,7 @@ set -eu export DEBUG=superagent-sync,e2e:* export DEBUG_COLORS=true -readonly tests=(app-flow-test cloudron-update-test cloudron-user-test new-user-test) +readonly tests=(app-flow-test cloudron-user-test new-user-test) # cleanup rm -f logs/* @@ -18,6 +18,10 @@ for t in "${tests[@]}"; do ./node_modules/.bin/mocha "test/${t}.js" > "logs/${t}.log" 2>&1 & done +# update test modifies release file, so run it separately +sleep 20 # wait for the other tests to have created the cloudron +./node_modules/.bin/mocha "test/cloudron-update-test.js" > "logs/cloudron-update-test.log" 2>&1 & + # wait for tests to finish fail=0 echo "Waiting for jobs to finish"