rkhachatryan commented on a change in pull request #11491: 
[FLINK-16513][checkpointing] Unaligned checkpoints: checkpoint metadata
URL: https://github.com/apache/flink/pull/11491#discussion_r400245218
 
 

 ##########
 File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/jobmaster/JobMasterTest.java
 ##########
 @@ -2022,17 +2026,18 @@ private File createSavepointWithOperatorState(long 
savepointId, OperatorID... op
        }
 
        private Collection<OperatorState> createOperatorState(OperatorID... 
operatorIds) {
+               Random random = new Random(0x42);
 
 Review comment:
   The values from this random don't have to be globally unique. So it doesn't 
matter if it's the same seed or not for different calls. 
   However, if this method would be used differently, it could matter. 
   So I'll remove the seed.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to