ReemaAlzaid commented on issue #13463:
URL: https://github.com/apache/gluten/issues/13463#issuecomment-6442801858

   Hi @zhouyuan , I looked into the race you described. `AddData` waits for the 
query to synchronize with the manual clock and fails if the query has already 
stopped. That could explain why the test fails before reaching `ExpectFailure`
   
   I was wondering if we could keep the coverage by adding the data before 
`StartStream`, then going straight to `ExpectFailure` without advancing the 
clock? Spark 4.2’s [test 
harness](https://github.com/apache/spark/blob/v4.2.0/sql/core/src/test/scala/org/apache/spark/sql/streaming/StreamTest.scala#L754-L790)
 already supports adding data before the stream starts


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


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

Reply via email to