From 7e8a284cb87d5f4bcb4653e65b00915b0104ccc3 Mon Sep 17 00:00:00 2001 From: Kristina Chodorow Date: Mon, 11 Jan 2016 23:16:27 +0000 Subject: 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 --- src/test/shell/bazel/external_integration_test.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 <