GJL commented on a change in pull request #9268: [FLINK-13452] Ensure to fail
global when exception happens during reseting tasks of regions
URL: https://github.com/apache/flink/pull/9268#discussion_r309718888
##########
File path:
flink-tests/src/test/java/org/apache/flink/test/checkpointing/RegionFailoverITCase.java
##########
@@ -282,7 +301,11 @@ public void initializeState(FunctionInitializationContext
context) throws Except
unionListState =
context.getOperatorStateStore().getUnionListState(unionStateDescriptor);
Set<Integer> actualIndices =
StreamSupport.stream(unionListState.get().spliterator(),
false).collect(Collectors.toSet());
-
Assert.assertTrue(CollectionUtils.isEqualCollection(EXPECTED_INDICES,
actualIndices));
+ if
(getRuntimeContext().getTaskName().contains(SINGLE_REGION_SOURCE_NAME)) {
Review comment:
Is this change really necessary to resolve FLINK-13452, or can it be in a
separate ticket?
----------------------------------------------------------------
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