thesumery commented on code in PR #7157:
URL: https://github.com/apache/inlong/pull/7157#discussion_r1062092764


##########
inlong-agent/agent-plugins/src/test/java/org/apache/inlong/agent/plugin/task/TestTextFileTask.java:
##########
@@ -180,7 +182,7 @@ public void testReadFull() throws IOException {
         jobProfile.set(JobConstants.JOB_DIR_FILTER_PATTERNS, 
file.getAbsolutePath());
         jobProfile.set(JobConstants.JOB_TASK_BEGIN_WAIT_SECONDS, 
String.valueOf(0));
         jobProfile.set(JobConstants.JOB_FILE_CONTENT_COLLECT_TYPE, 
DataCollectType.FULL);
-
+        jobProfile.set(JOB_FILE_META_ENV_LIST, KUBERNETES);

Review Comment:
   Pls add an unit test for non metadata text read.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@inlong.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to