Rruop commented on code in PR #21968:
URL: https://github.com/apache/flink/pull/21968#discussion_r1114092075
##########
flink-connectors/flink-connector-files/src/test/java/org/apache/flink/connector/file/sink/FileSinkSpeculativeITCase.java:
##########
@@ -100,14 +96,6 @@ void testFileSinkSpeculative()
miniCluster.executeJobBlocking(jobGraph);
Review Comment:
> It's better to use `MiniClusterExtension` and execute the job direct with
`StreamExecutionEnvironment#execute(...)`, instead of manually maintaining and
using a `MiniCluster`. A reference can be `RateLimitedSourceReaderITCase`.
I try to use MiniClusterExtension and find that speculative execution
related configuration was lost in AdaptiveBatchSchedulerFactory by
StreamExecutionEnvironment#config or
StreamExecutionEnvironment#getExecutionEnvironment. I suspect some
configurations are lost in TestStreamEnvironment#setAsContext or
StreamExecutionEnvironment#config. Can you have time to take a look for me?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]