masteryhx commented on code in PR #24770:
URL: https://github.com/apache/flink/pull/24770#discussion_r1597415073
##########
flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/metadata/CheckpointTestUtils.java:
##########
@@ -343,7 +343,11 @@ private static StreamStateHandle
createDummySegmentFileStateHandle(Random rnd) {
private static StreamStateHandle createDummySegmentFileStateHandle(
Random rnd, boolean isEmpty) {
return isEmpty
- ? TestingSegmentFileStateHandle.EMPTY_INSTANCE
+ ? new TestingSegmentFileStateHandle(
+ new Path(UUID.randomUUID().toString()),
Review Comment:
Thanks for correcting this.
There is no strong reason for it.
--
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]