zhuzhurk commented on code in PR #25256:
URL: https://github.com/apache/flink/pull/25256#discussion_r1758695771


##########
flink-end-to-end-tests/flink-state-evolution-test/src/main/java/org/apache/flink/test/StatefulStreamingJob.java:
##########
@@ -159,7 +159,7 @@ public static void main(String[] args) throws Exception {
         final StreamExecutionEnvironment env =
                 
StreamExecutionEnvironment.getExecutionEnvironment(configuration);
         env.setStateBackend(new FsStateBackend(checkpointDir));
-        env.setRestartStrategy(RestartStrategies.noRestart());
+        env.configure(new 
Configuration().set(RestartStrategyOptions.RESTART_STRATEGY, "none"));

Review Comment:
   We can set it through the existing `configuration`.



-- 
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: issues-unsubscr...@flink.apache.org

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

Reply via email to