Search in sources :

Example 1 with WaitExecutionDetails

use of com.google.devtools.build.lib.remote.logging.RemoteExecutionLog.WaitExecutionDetails in project tools_remote by bazelbuild.

the class ActionGroupingTest method makeWatch.

private RpcCallDetails makeWatch(ActionResult result) {
    ExecuteResponse response = ExecuteResponse.newBuilder().setResult(result).build();
    Operation operation = Operation.newBuilder().setResponse(Any.pack(response)).setDone(true).build();
    WaitExecutionDetails waitExecution = WaitExecutionDetails.newBuilder().addResponses(operation).build();
    return RpcCallDetails.newBuilder().setWaitExecution(waitExecution).build();
}
Also used : ExecuteResponse(build.bazel.remote.execution.v2.ExecuteResponse) Operation(com.google.longrunning.Operation) WaitExecutionDetails(com.google.devtools.build.lib.remote.logging.RemoteExecutionLog.WaitExecutionDetails)

Aggregations

ExecuteResponse (build.bazel.remote.execution.v2.ExecuteResponse)1 WaitExecutionDetails (com.google.devtools.build.lib.remote.logging.RemoteExecutionLog.WaitExecutionDetails)1 Operation (com.google.longrunning.Operation)1