diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/remote/MemcacheWorkExecutor.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/remote/MemcacheWorkExecutor.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/remote/MemcacheWorkExecutor.java b/src/main/java/com/google/devtools/build/lib/remote/MemcacheWorkExecutor.java index 7f87803dde..20cbc6058d 100644 --- a/src/main/java/com/google/devtools/build/lib/remote/MemcacheWorkExecutor.java +++ b/src/main/java/com/google/devtools/build/lib/remote/MemcacheWorkExecutor.java @@ -114,7 +114,7 @@ public class MemcacheWorkExecutor implements RemoteWorkExecutor { ImmutableMap<String, String> environment, Collection<? extends ActionInput> outputs, int timeout) - throws IOException, WorkTooLargeException { + throws IOException, WorkTooLargeException, InterruptedException { RemoteWorkRequest.Builder work = RemoteWorkRequest.newBuilder(); work.setOutputKey(actionOutputKey); @@ -162,7 +162,8 @@ public class MemcacheWorkExecutor implements RemoteWorkExecutor { } /** Execute a work item locally. */ - public RemoteWorkResponse executeLocally(RemoteWorkRequest work) throws IOException { + public RemoteWorkResponse executeLocally(RemoteWorkRequest work) + throws IOException, InterruptedException { ByteArrayOutputStream stdout = new ByteArrayOutputStream(); ByteArrayOutputStream stderr = new ByteArrayOutputStream(); try { |