@Override
        public void onRegionComplete(RegionInfo region, EchoResponseProto resp) {
          if (!future.isDone()) {
            results.put(region.getRegionName(), resp.getMessage());
          }
        }
Test cases to verify tracing coprocessor Endpoint execution
hbase-endpoint/src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorEndpointTracing.java