run cloudron-update-test in the end
This commit is contained in:
parent
0fcd2c6daa
commit
74f6663665
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user