Skip to content

Commit

Permalink
[HOTFIX] Check permission when updating cron information
Browse files Browse the repository at this point in the history
  • Loading branch information
jongyoul committed Feb 7, 2024
1 parent 6d61ca4 commit bb2caeb
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
import java.io.FileWriter;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
Expand Down Expand Up @@ -106,6 +107,9 @@ public void setUp() throws Exception {
schedulerService = new QuartzSchedulerService(conf, notebook);
notebook.initNotebook();
notebook.waitForFinishInit(1, TimeUnit.MINUTES);

// create empty shiro.ini file under confDir
Files.createFile(new File(confDir, "shiro.ini").toPath());
}

@Override
Expand Down

0 comments on commit bb2caeb

Please sign in to comment.