Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wangbo committed Nov 1, 2024
1 parent 76950e8 commit b77ce50
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
package org.apache.doris.resource.workloadgroup;

import org.apache.doris.catalog.Env;
import org.apache.doris.common.FeConstants;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
Expand All @@ -34,6 +35,9 @@ public void run() {
try {
Env env = Env.getCurrentEnv();
while (!env.isReady()) {
if (FeConstants.runningUnitTest) {
return;
}
Thread.sleep(5000);
}
if (!env.getWorkloadGroupMgr()
Expand Down

0 comments on commit b77ce50

Please sign in to comment.