HyukjinKwon opened a new pull request, #731: URL: https://github.com/apache/spark-connect-rust/pull/731
### What changes were proposed in this pull request? The mock Connect server now also counts the answered requests of forgotten sessions by session (`forgotten_count(session_id, kind)`). The tests that assert exact counts now read the count of their own session. ### Why are the changes needed? `forgotten_requests` adds up the late requests of every forgotten session. A late request of a session that an earlier test forgot could therefore inflate a later test's exact count. `test_the_listener_requests_of_a_forgotten_session_are_answered_but_not_counted` failed once that way (`assert 3 == 2`), and the other exact counts had the same risk. ### Does this PR introduce _any_ user-facing change? No, test only. ### How was this patch tested? The offline suite passes in CI's order (`test_dropin_offline.py`, `test_arrow_handoff.py`, `test_ml_offline.py`). ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Opus 5.5 This pull request and its description were written by Isaac. -- 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]
