[ 
https://issues.apache.org/jira/browse/HUDI-8648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17903016#comment-17903016
 ] 

Lin Liu commented on HUDI-8648:
-------------------------------

It complains that after the delete, the record in the SI still exists:

 
{code:java}
expected: <true> but was: <false>
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
    at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
    at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:40)
    at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:35)
    at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:179)
    at 
org.apache.spark.sql.hudi.command.index.TestSecondaryIndex.$anonfun$validateSecondaryIndex$1(TestSecondaryIndex.scala:554)
    at 
org.apache.spark.sql.hudi.command.index.TestSecondaryIndex.$anonfun$validateSecondaryIndex$1$adapted(TestSecondaryIndex.scala:547)
    at 
scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36)
    at 
scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33)
    at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:198)
    at 
org.apache.spark.sql.hudi.command.index.TestSecondaryIndex.validateSecondaryIndex(TestSecondaryIndex.scala:547)
    at 
org.apache.spark.sql.hudi.command.index.TestSecondaryIndex.$anonfun$new$12(TestSecondaryIndex.scala:369)
    at 
org.apache.spark.sql.hudi.command.index.TestSecondaryIndex.$anonfun$new$12$adapted(TestSecondaryIndex.scala:304)
    at 
org.apache.spark.sql.hudi.common.HoodieSparkSqlTestBase.withTempDir(HoodieSparkSqlTestBase.scala:92)
    at 
org.apache.spark.sql.hudi.command.index.TestSecondaryIndex.$anonfun$new$11(TestSecondaryIndex.scala:304)
    at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
    at 
org.apache.spark.sql.hudi.command.index.TestSecondaryIndex$.$anonfun$retry$1(TestSecondaryIndex.scala:611)
    at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:158)
    at 
org.apache.spark.sql.hudi.command.index.TestSecondaryIndex$.retry(TestSecondaryIndex.scala:609)
    at 
org.apache.spark.sql.hudi.command.index.TestSecondaryIndex.$anonfun$new$10(TestSecondaryIndex.scala:303)
    at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
    at 
org.apache.spark.sql.hudi.common.HoodieSparkSqlTestBase.$anonfun$test$1(HoodieSparkSqlTestBase.scala:104)
 {code}

> Flaky test: TestSecondaryIndex. "Secondary Index With Updates Compaction 
> Clustering Deletes"
> --------------------------------------------------------------------------------------------
>
>                 Key: HUDI-8648
>                 URL: https://issues.apache.org/jira/browse/HUDI-8648
>             Project: Apache Hudi
>          Issue Type: Bug
>            Reporter: Lin Liu
>            Assignee: Lin Liu
>            Priority: Major
>
> The error stack:
>  
> {code:java}
> - Test Secondary Index With Updates Compaction Clustering Deletes *** FAILED 
> ***
>   org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
>   at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
>   at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:40)
>   at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:35)
>   at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:179)
>   at 
> org.apache.spark.sql.hudi.command.index.TestSecondaryIndex.$anonfun$validateSecondaryIndex$1(TestSecondaryIndex.scala:547)
>   at 
> org.apache.spark.sql.hudi.command.index.TestSecondaryIndex.$anonfun$validateSecondaryIndex$1$adapted(TestSecondaryIndex.scala:540)
>   at 
> scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36)
>   at 
> scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33)
>   at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:198)
>   at 
> org.apache.spark.sql.hudi.command.index.TestSecondaryIndex.validateSecondaryIndex(TestSecondaryIndex.scala:540)
>  {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to