所有单测重新测试

This commit is contained in:
didi
2022-01-18 17:07:21 +08:00
parent 055ba9bda6
commit 34d9f9174b
30 changed files with 590 additions and 584 deletions

View File

@@ -250,6 +250,7 @@ public class ClusterTaskServiceTest extends BaseTest {
private void executeTask2RollbackForbiddenTest() {
Mockito.when(abstractAgent.getTaskExecuteState(Mockito.anyLong())).thenReturn(Result.buildSuc(ClusterTaskStateEnum.RUNNING));
ClusterTaskDO clusterTaskDO = getClusterTaskDO();
clusterTaskDO.setAgentRollbackTaskId(1L);
Mockito.when(clusterTaskDao.getById(Mockito.anyLong())).thenReturn(clusterTaskDO);
// operation failed