spin up an api server for all the tests that will not be run.
No issue #
&& python sdk/python/tests/run_test_server.py stop
}
+clean_up() {
+ report_outcomes
+ clear_temp
+
+ exit ${#failures}
+}
+
test_doclinkchecker() {
(
set -e
}
do_test services/api apiserver
+# Shortcut for when we're only running apiserver tests. This saves a bit of time,
+# because we don't need to start up the api server for subsequent tests.
+if [ ! -z "$only" ] && [ "$only" == "services/api" ]; then
+ rotate_logfile "$WORKSPACE/services/api/log/" "test.log"
+
+ clean_up
+fi
+
start_api
test_ruby_sdk() {
rotate_logfile "$WORKSPACE/apps/workbench/log/" "test.log"
stop_api
-rotate_logfile "$WORKSPACE/services/api/log/" "test.log"
-report_outcomes
-clear_temp
-
-exit ${#failures}
+rotate_logfile "$WORKSPACE/services/api/log/" "test.log"
+clean_up