Skip to content

Commit

Permalink
extend lifetime of execution thread unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Hrushi20 <[email protected]>
  • Loading branch information
Hrushi20 committed Oct 27, 2023
1 parent 4c9f61b commit 674ade4
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ public void testCreateExecutionThread(){

config.setCronSyntax(TaskType.PREFETCH,"* * * * *");
config.setIsTaskConfigured(TaskType.PREFETCH,true);
config.setCronSyntax(TaskType.LOOSE_OBJECTS,"* * * * *");
config.setIsTaskConfigured(TaskType.LOOSE_OBJECTS,true);
config.setCronSyntax(TaskType.COMMIT_GRAPH,"* * * * *");
config.setIsTaskConfigured(TaskType.COMMIT_GRAPH,true);
config.setCronSyntax(TaskType.GC,"* * * * *");
config.setIsTaskConfigured(TaskType.GC,true);

List<Task> maintenanceTasks = config.getMaintenanceTasks();
taskScheduler.addTasksToQueue(maintenanceTasks);
Expand Down

0 comments on commit 674ade4

Please sign in to comment.