[fix](fe ut) fix unstable TabletRepairAndBalanceTest (#30041)

This commit is contained in:
yujun
2024-01-17 14:25:47 +08:00
committed by yiguolei
parent 6ef9ed08aa
commit 2ca3c82135
2 changed files with 7 additions and 1 deletions

View File

@ -692,6 +692,10 @@ public class Tablet extends MetaObject implements Writable {
* LOW: delay Config.tablet_repair_delay_factor_second * 3;
*/
public boolean readyToBeRepaired(SystemInfoService infoService, TabletSchedCtx.Priority priority) {
if (FeConstants.runningUnitTest) {
return true;
}
if (priority == Priority.VERY_HIGH) {
return true;
}