public Connection createConnection() {
    try {
      return createAsyncConnection().get().toConnection();
    } catch (InterruptedException | ExecutionException e) {
      throw new RuntimeException(e);
    }
  }
Create a {@link Connection} to the managed {@link SingleProcessHBaseCluster}. It's up to the
caller to {@link Connection#close() close()} the connection when finished.
hbase-server/src/test/java/org/apache/hadoop/hbase/MiniClusterRule.java