azagrebin commented on a change in pull request #14199:
URL: https://github.com/apache/flink/pull/14199#discussion_r532397548



##########
File path: 
flink-connectors/flink-connector-files/src/test/java/org/apache/flink/connector/file/src/FileSourceTextLinesITCase.java
##########
@@ -84,18 +168,33 @@ public void testBoundedTextFileSource() throws Exception {
                writeHiddenJunkFiles(testDir);
 
                final FileSource<String> source = FileSource
-                               .forRecordStreamFormat(new TextLineFormat(), 
Path.fromLocalFile(testDir))
-                               .build();
+                       .forRecordStreamFormat(new TextLineFormat(), 
Path.fromLocalFile(testDir))
+                       .build();
 
-               final StreamExecutionEnvironment env = 
StreamExecutionEnvironment.getExecutionEnvironment();
+               final StreamExecutionEnvironment env = new 
TestStreamEnvironment(miniCluster, PARALLELISM);
                env.setParallelism(PARALLELISM);
+               env.enableCheckpointing(10L);

Review comment:
       makes sense




----------------------------------------------------------------
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.

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


Reply via email to