aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java
diff options
context:
space:
mode:
authorGravatar olaola <olaola@google.com>2017-06-14 16:11:32 +0200
committerGravatar Yun Peng <pcloudy@google.com>2017-06-14 16:21:11 +0200
commit9eea05d068a06ab642dd9d86d46ee5fa2e36b02e (patch)
treea71f15b29d072870f13bf22d232f1cceb9fdeabf /src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java
parent4d302735b0e5c8284946ba35e58f2bad9bca70ca (diff)
Switching to Watcher API instead of wait_for_completion, in preparation for
deprecating the wait_for_completion field. Note on errors: in the RemoteWorker, I currently handle all errors as onError of the watch call. Other options are: pass them as the operation error field, and pass some of them as the onError of the execute call. For now, I'm just using the simplest option; the Bazel client is ready to handle all possible options. RELNOTES: none PiperOrigin-RevId: 158974207
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java
index 383667437d..412031bb1b 100644
--- a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java
+++ b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java
@@ -115,7 +115,6 @@ final class RemoteSpawnRunner implements SpawnRunner {
ExecuteRequest.newBuilder()
.setInstanceName(options.remoteInstanceName)
.setAction(action)
- .setWaitForCompletion(true)
.setTotalInputFileCount(inputMap.size())
.setSkipCacheLookup(!options.remoteAcceptCached);
result = executor.executeRemotely(request.build()).getResult();