This is an automated email from the ASF dual-hosted git repository.
wenweihuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 7004181814 [INLONG-10598][Agent] Delete excess unit tests (#10599)
7004181814 is described below
commit 7004181814358a32c493d232aa90dcccbd7aacf5
Author: justinwwhuang <[email protected]>
AuthorDate: Wed Jul 10 19:21:11 2024 +0800
[INLONG-10598][Agent] Delete excess unit tests (#10599)
---
.../test/java/org/apache/inlong/agent/plugin/task/TestLogFileTask.java | 2 --
1 file changed, 2 deletions(-)
diff --git
a/inlong-agent/agent-plugins/src/test/java/org/apache/inlong/agent/plugin/task/TestLogFileTask.java
b/inlong-agent/agent-plugins/src/test/java/org/apache/inlong/agent/plugin/task/TestLogFileTask.java
index cf8128a0be..30abede6fc 100644
---
a/inlong-agent/agent-plugins/src/test/java/org/apache/inlong/agent/plugin/task/TestLogFileTask.java
+++
b/inlong-agent/agent-plugins/src/test/java/org/apache/inlong/agent/plugin/task/TestLogFileTask.java
@@ -136,8 +136,6 @@ public class TestLogFileTask {
Assert.assertEquals(0,
fileName.get(i).compareTo(resourceName.get(i)));
Assert.assertEquals(0,
dataTime.get(i).compareTo(srcDataTimes.get(i)));
}
- PowerMockito.verifyPrivate(dayTask, Mockito.times(resources.size()))
- .invoke("addToEvenMap", Mockito.anyString(),
Mockito.anyString());
dayTask.destroy();
}
}
\ No newline at end of file