This is an automated email from the ASF dual-hosted git repository.

ruifengz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new dc11b66bdd9c [MINOR][PYTHON][TESTS] Retry `test_observe_with_map_type`
dc11b66bdd9c is described below

commit dc11b66bdd9c0e2864f874842a047853bb10ab26
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Fri Oct 10 13:05:12 2025 +0800

    [MINOR][PYTHON][TESTS] Retry `test_observe_with_map_type`
    
    ### What changes were proposed in this pull request?
    Retry `test_observe_with_map_type`
    
    ### Why are the changes needed?
    it occasionally fails 
https://github.com/apache/spark/actions/runs/18387627760/job/52390087983
    
    ### Does this PR introduce _any_ user-facing change?
    no, test-only
    
    ### How was this patch tested?
    ci
    
    ### Was this patch authored or co-authored using generative AI tooling?
    no
    
    Closes #52566 from zhengruifeng/retry_test_observe_with_map_type.
    
    Authored-by: Ruifeng Zheng <[email protected]>
    Signed-off-by: Ruifeng Zheng <[email protected]>
---
 python/pyspark/sql/tests/test_observation.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/python/pyspark/sql/tests/test_observation.py 
b/python/pyspark/sql/tests/test_observation.py
index 5af709d191c1..37ebe9c9a6f1 100644
--- a/python/pyspark/sql/tests/test_observation.py
+++ b/python/pyspark/sql/tests/test_observation.py
@@ -25,7 +25,7 @@ from pyspark.errors import (
     PySparkValueError,
 )
 from pyspark.testing.sqlutils import ReusedSQLTestCase
-from pyspark.testing.utils import assertDataFrameEqual
+from pyspark.testing.utils import assertDataFrameEqual, eventually
 
 
 class DataFrameObservationTestsMixin:
@@ -214,6 +214,7 @@ class DataFrameObservationTestsMixin:
 
         self.assertEqual(observation.get, {"array": [10]})
 
+    @eventually(timeout=60.0, catch_assertions=True)
     def test_observe_with_map_type(self):
         observation = Observation("map")
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to