Add tear down for external_integration_test
For
@@ -24,7 +24,7 @@ source "${CURRENT_DIR}/../integration_test_setup.sh" \
source "${CURRENT_DIR}/remote_helpers.sh" \
|| { echo "remote_helpers.sh not found!" >&2; exit 1; }
-function set_up() {
+set_up() {
bazel clean --expunge >& $TEST_log
mkdir -p zoo
cat > zoo/BUILD <<EOF
@@ -47,6 +47,10 @@ public class BallPit {
EOF
}
+tear_down() {
+ shutdown_server
+}
+
function zip_up() {
repo2_zip=$TEST_TMPDIR/fox.zip
zip -0 -ry $repo2_zip WORKSPACE fox
