public String getDatabasePath(String dbName) {
    File dbDir = new File(hiveLocalDir, dbName);
    return dbDir.getAbsolutePath().replace("\\", "/");
  }
Starts a TestHiveMetastore with a provided connection pool size.

@param poolSize The number of threads in the executor pool
amoro-common/src/test/java/org/apache/amoro/hive/HMSMockServer.java