Skip to content

Commit

Permalink
Fix test when doris-meta dir not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinKirs committed Sep 19, 2023
1 parent 740ec0c commit 760c14f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,12 @@ private static int startFEServerWithoutRetry(String runningDir) throws EnvVarNot
if (!file.exists()) {
file.mkdir();
}
if (null != System.getenv("DORIS_HOME")) {
File metaDir = new File(Config.meta_dir);
if (!metaDir.exists()) {
metaDir.mkdir();
}
}

int feHttpPort = findValidPort();
int feRpcPort = findValidPort();
Expand Down

0 comments on commit 760c14f

Please sign in to comment.