Show nailgun log on UI tests fail
This will allow us to debug cryptic errors with tasks hanging Change-Id: I5da4e1652b7d034055d49442203077058355369a
This commit is contained in:
parent
62f8c8be2e
commit
b9d8e10a2e
11
run_tests.sh
11
run_tests.sh
|
@ -300,15 +300,16 @@ function run_ui_func_tests {
|
|||
|
||||
SERVER_PORT=$NAILGUN_PORT \
|
||||
ARTIFACTS=$artifacts \
|
||||
${GULP} functional-tests --suites=$testcase
|
||||
if [ $? -ne 0 ]; then
|
||||
result=1
|
||||
break
|
||||
fi
|
||||
${GULP} functional-tests --suites=$testcase || result=1
|
||||
|
||||
if [ $no_nailgun_start -ne 1 ]; then
|
||||
kill_server $NAILGUN_PORT
|
||||
fi
|
||||
|
||||
if [ $result -ne 0 ]; then
|
||||
cat $server_log
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
rm $server_log
|
||||
|
|
Loading…
Reference in New Issue