This is an automated email from the ASF dual-hosted git repository.
JingsongLi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 6e3077f12f [spark] Output metric assertions race with listener removal
(#11061)
6e3077f12f is described below
commit 6e3077f12f2dc5a88de51410c925e9724da883b3
Author: Ran Tao <[email protected]>
AuthorDate: Tue Nov 10 17:42:54 2026 +0800
[spark] Output metric assertions race with listener removal (#11061)
---
.../src/test/scala/org/apache/paimon/spark/sql/PaimonMetricTest.scala | 1 +
1 file changed, 1 insertion(+)
diff --git
a/paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/sql/PaimonMetricTest.scala
b/paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/sql/PaimonMetricTest.scala
index bb23a3c414..d5790344b4 100644
---
a/paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/sql/PaimonMetricTest.scala
+++
b/paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/sql/PaimonMetricTest.scala
@@ -274,6 +274,7 @@ class PaimonMetricTest extends PaimonSparkTestBase with
ScanPlanHelper {
try {
spark.sparkContext.addSparkListener(listener)
sql(s"INSERT INTO T VALUES 1, 2, 3")
+ Utils.waitUntilEventEmpty(spark)
} finally {
spark.sparkContext.removeSparkListener(listener)
}