XComp commented on code in PR #21736:
URL: https://github.com/apache/flink/pull/21736#discussion_r1147501300


##########
flink-tests/src/test/java/org/apache/flink/test/state/operator/restore/AbstractOperatorRestoreTestBase.java:
##########
@@ -104,16 +123,32 @@ public abstract class AbstractOperatorRestoreTestBase 
extends TestLogger {
                             .setNumberSlotsPerTaskManager(NUM_SLOTS_PER_TM)
                             .build());
 
-    private final boolean allowNonRestoredState;
     private final ScheduledExecutor scheduledExecutor =
             new 
ScheduledExecutorServiceAdapter(EXECUTOR_RESOURCE.getExecutor());
 
-    protected AbstractOperatorRestoreTestBase() {
-        this(true);
+    protected AbstractOperatorRestoreTestBase(FlinkVersion flinkVersion) {
+        this.flinkVersion = flinkVersion;
     }
 
-    protected AbstractOperatorRestoreTestBase(boolean allowNonRestoredState) {
-        this.allowNonRestoredState = allowNonRestoredState;
+    protected void internalGenerateSnapshots(FlinkVersion targetVersion) 
throws Exception {

Review Comment:
   Ok, after I have done the data generation myself in FLINK-31593, I get how 
it should be implemented :+1: 



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

Reply via email to