Skip to content

Commit

Permalink
[INLONG-9143][Agent] Add log file collect task
Browse files Browse the repository at this point in the history
Try to fix check failed
  • Loading branch information
justinwwhuang committed Oct 29, 2023
1 parent 57c5025 commit 608d3c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ public class TestLogfileCollectTask {
public static void setup() {
helper = new AgentBaseTestsHelper(TestLogfileCollectTask.class.getName()).setupAgentHome();
Db basicDb = TaskManager.initDb("/localdb");
resourceName = LOADER.getResource("test/20230928.log_1").getPath();
resourceName = LOADER.getResource("test/20230928_1.log").getPath();
File f = new File(resourceName);
String pattern = f.getParent() + "/YYYYMMDD.log_[0-9]+";
String pattern = f.getParent() + "/YYYYMMDD_[0-9]+.log";
TaskProfile taskProfile = helper.getTaskProfile(1, pattern, true, 0L, 0L, TaskStateEnum.RUNNING);
try {
String startStr = "2023-09-20 00:00:00";
Expand Down

This file was deleted.

0 comments on commit 608d3c8

Please sign in to comment.