voonhous commented on code in PR #19865:
URL: https://github.com/apache/hudi/pull/19865#discussion_r3964821886


##########
hudi-hadoop-common/src/test/java/org/apache/hudi/common/util/TestClusteringUtils.java:
##########
@@ -182,7 +180,7 @@ public void testClusteringPlanInflight() throws Exception {
     fileIds1.add(UUID.randomUUID().toString());
     String clusterTime1 = "1";
     HoodieInstant requestedInstant = 
createRequestedClusterInstant(partitionPath1, clusterTime1, fileIds1);
-    HoodieInstant inflightInstant = 
metaClient.getActiveTimeline().transitionReplaceRequestedToInflight(requestedInstant,
 Option.empty());
+    HoodieInstant inflightInstant = 
metaClient.getActiveTimeline().transitionClusterRequestedToInflight(requestedInstant,
 Option.empty());
     
assertTrue(ClusteringUtils.isClusteringInstant(metaClient.getActiveTimeline(), 
requestedInstant, INSTANT_GENERATOR));
     HoodieClusteringPlan requestedClusteringPlan = 
ClusteringUtils.getClusteringPlan(metaClient, 
requestedInstant).get().getRight();
     
assertTrue(ClusteringUtils.isClusteringInstant(metaClient.getActiveTimeline(), 
inflightInstant, INSTANT_GENERATOR));

Review Comment:
   Addressed in 51454e819891: the instant is completed in both lanes and 
`isClusteringInstant` plus `getClusteringPlan` are asserted on the completed 
instant, so both sides of the `InstantGeneratorV2` fork run.
   



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