Myasuka 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_r309969915
 
 

 ##########
 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:
   If we want to let this integration test to include global failover scenario, 
this is necessary.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to