Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
Fix unit tests

Fix unit tests

Fix unit tests
  • Loading branch information
7hong committed Jan 23, 2025
1 parent aef1178 commit 008763a
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,12 @@ public void testReloadCompletedTask() {
optimizingService().completeTask(token, buildOptimizingTaskResult(task.getTaskId()));

reload();
assertTaskCompleted(null);
Assertions.assertNull(optimizingService().pollTask(token, THREAD_ID));
// Committing process will be closed when reloading
Assertions.assertNull(
tableService().getRuntime(serverTableIdentifier().getId()).getOptimizingProcess());
Assertions.assertEquals(
OptimizingStatus.IDLE,
tableService().getRuntime(serverTableIdentifier().getId()).getOptimizingStatus());
}

@Test
Expand Down

0 comments on commit 008763a

Please sign in to comment.