Correct test grpc response
The execute service in retryUploadAndExecuteOnMissingInputs should not
complete the same handled request multiple times.
Closes
@@ -1177,7 +1177,7 @@ public class GrpcRemoteExecutionClientTest {
.setResponse(Any.pack(ExecuteResponse.newBuilder().setStatus(status).build()))
.build());
responseObserver.onCompleted();
- }
+ } else {
assertThat(request.getSkipCacheLookup()).isFalse();
responseObserver.onNext(
Operation.newBuilder()
@@ -1187,6 +1187,7 @@ public class GrpcRemoteExecutionClientTest {
.build());
responseObserver.onCompleted();
}
+ }
});
AtomicInteger numCacheUploads = new AtomicInteger();
serviceRegistry.addService(
