Srinivas Rishindra Pothireddi created SPARK-52731:
-----------------------------------------------------

             Summary: Fix flaky test_listener_events in 
'pyspark.sql.tests.streaming.test_streaming_listener'
                 Key: SPARK-52731
                 URL: https://issues.apache.org/jira/browse/SPARK-52731
             Project: Spark
          Issue Type: Bug
          Components: PySpark
    Affects Versions: 4.1.0
            Reporter: Srinivas Rishindra Pothireddi


There is flakiness in the method 'test_listener_events' in test 
'pyspark.sql.tests.streaming.test_streaming_listener'. This is because the 
spark events are not being reset between streaming queries. The was working 
most of the times because there was time delay and in the meantime if the 
second query executes then the terminated_event is being reset. But if the 
query fails to execute within the sleep period, then the old event is used. 



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

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

Reply via email to