Hyukjin Kwon created SPARK-62329:
------------------------------------
Summary: Make
test_another_thread_during_the_first_read_of_a_container_finds_the_message read
during each first read, independent of the scheduling of the machine
Key: SPARK-62329
URL: https://issues.apache.org/jira/browse/SPARK-62329
Project: Spark
Issue Type: Bug
Components: Connect
Affects Versions: 5.0.0
Reporter: Hyukjin Kwon
Test-only.
test_another_thread_during_the_first_read_of_a_container_finds_the_message
hands the GIL to its reader thread through a 0.2 ms sleep in a collection
callback, and asserts only that there were no errors. So it can pass without
its reader ever reading during a first read, which a loaded machine makes
likelier; on an idle machine it reads in about 20 of 40 first reads per case.
The primer-plus-handshake of SPARK-62328 makes every first read take its turn.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]