aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Kristina Chodorow <kchodorow@google.com>2016-01-11 23:16:27 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-01-12 14:22:04 +0000
commit7e8a284cb87d5f4bcb4653e65b00915b0104ccc3 (patch)
treee21269d5e56b74f79a2a4a54fbbce363b693877e /src
parentbd210f0038b692e686caa0e140fb0681eccdc010 (diff)
Reset state before test_fetch
In general the external integration tests shouldn't need to reset state between tests, but test_fetch is explicitly assuming a clean environment to start off with. Fixes #769 (I think, I can't actually test it due to #770). Change-Id: I63eef924c5b7bff3225c6b67a300d57a7675aeda -- Change-Id: I63eef924c5b7bff3225c6b67a300d57a7675aeda Reviewed-on: https://github.com/bazelbuild/bazel/pull/771 MOS_MIGRATED_REVID=111893662
Diffstat (limited to 'src')
-rwxr-xr-xsrc/test/shell/bazel/external_integration_test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/shell/bazel/external_integration_test.sh b/src/test/shell/bazel/external_integration_test.sh
index 33dc899bec..531360fb88 100755
--- a/src/test/shell/bazel/external_integration_test.sh
+++ b/src/test/shell/bazel/external_integration_test.sh
@@ -500,6 +500,7 @@ EOF
}
function test_fetch() {
+ bazel clean --expunge || fail "Clean failed"
serve_jar
cat > WORKSPACE <<EOF