diff --git a/fe/fe-core/src/test/java/com/starrocks/backup/RestoreJobTest.java b/fe/fe-core/src/test/java/com/starrocks/backup/RestoreJobTest.java index 5eb1814968bc6..7e5220e129f69 100644 --- a/fe/fe-core/src/test/java/com/starrocks/backup/RestoreJobTest.java +++ b/fe/fe-core/src/test/java/com/starrocks/backup/RestoreJobTest.java @@ -222,6 +222,14 @@ public void testRunBackupMultiSubPartitionTable() { minTimes = 0; result = beIds; + systemInfoService.getBackend(anyLong); + minTimes = 0; + result = null; + + systemInfoService.getComputeNode(anyLong); + minTimes = 0; + result = null; + systemInfoService.checkExceedDiskCapacityLimit((Multimap) any, anyBoolean); minTimes = 0; result = com.starrocks.common.Status.OK; @@ -398,6 +406,14 @@ public void testRunBackupRangeTable() { minTimes = 0; result = beIds; + systemInfoService.getBackend(anyLong); + minTimes = 0; + result = null; + + systemInfoService.getComputeNode(anyLong); + minTimes = 0; + result = null; + systemInfoService.checkExceedDiskCapacityLimit((Multimap) any, anyBoolean); minTimes = 0; result = com.starrocks.common.Status.OK; @@ -561,6 +577,14 @@ public void testRunBackupListTable() { minTimes = 0; result = beIds; + systemInfoService.getBackend(anyLong); + minTimes = 0; + result = null; + + systemInfoService.getComputeNode(anyLong); + minTimes = 0; + result = null; + systemInfoService.checkExceedDiskCapacityLimit((Multimap) any, anyBoolean); minTimes = 0; result = com.starrocks.common.Status.OK;