aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell/bazel/bazel_worker_test.sh
diff options
context:
space:
mode:
authorGravatar Philipp Wollermann <philwo@google.com>2016-02-28 21:29:23 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-02-29 17:39:44 +0000
commit77ad6f6bac968fd35da91fecd8948e0ffed1cb71 (patch)
tree1df97b23dc656935c95c388ddc3576c2d3f9c2da /src/test/shell/bazel/bazel_worker_test.sh
parentd5093c2e36b7d2850416ae4381ca7b2f8d26ab34 (diff)
Remove incremental heuristic from workers, as it was not really useful.
-- MOS_MIGRATED_REVID=115800229
Diffstat (limited to 'src/test/shell/bazel/bazel_worker_test.sh')
-rwxr-xr-xsrc/test/shell/bazel/bazel_worker_test.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/test/shell/bazel/bazel_worker_test.sh b/src/test/shell/bazel/bazel_worker_test.sh
index e64bc50ee1..229d4ba033 100755
--- a/src/test/shell/bazel/bazel_worker_test.sh
+++ b/src/test/shell/bazel/bazel_worker_test.sh
@@ -131,28 +131,6 @@ function test_compiles_hello_library_using_persistent_javac() {
shutdown_and_print_unkilled_workers
}
-function test_incremental_heuristic() {
- write_hello_library_files
-
- # Default strategy is assumed to not use workers.
- bazel build //java/main:main || fail "build failed"
- assert_workers_not_running
-
- # No workers used, because too many files changed.
- echo '// hello '>> java/hello_library/HelloLibrary.java
- echo '// hello' >> java/main/Main.java
- bazel build --worker_max_changed_files=1 --strategy=Javac=worker //java/main:main \
- || fail "build failed"
- assert_workers_not_running
-
- # Workers used, because changed number of files is less-or-equal to --worker_max_changed_files=2.
- echo '// again '>> java/hello_library/HelloLibrary.java
- echo '// again' >> java/main/Main.java
- bazel build --worker_max_changed_files=2 --strategy=Javac=worker //java/main:main \
- || fail "build failed"
- assert_workers_running
-}
-
function test_workers_quit_after_build() {
write_hello_library_files