From 74f6663665f41d24f2c4bf58c392a49f88b4c662 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 13 Nov 2015 20:32:02 -0800 Subject: [PATCH] run cloudron-update-test in the end --- parallel_test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"