Hyukjin Kwon created SPARK-62309:
------------------------------------
Summary: Make two timing-dependent tests of the Python client
deterministic
Key: SPARK-62309
URL: https://issues.apache.org/jira/browse/SPARK-62309
Project: Spark
Issue Type: Bug
Components: Connect
Affects Versions: 5.0.0
Reporter: Hyukjin Kwon
Two tests of the Python client depend on the scheduler or the load of the
machine:
(1) test_python_thread_runs_before_native_conversion_finishes
(python/tests/local_data_conversion_cases.py) asserts that another thread took
the GIL inside a part of the native conversion of local data; on the Coverage
job of master at 0a7cd513 (run 45237312367), 5 retries saw no progress and it
failed, and it passed on the next commits.
(2) test_struct_type_add_with_metadata_is_linear_and_matches_the_constructor
has a wall-clock bound of 3.0 s, which a run under a parallel build exceeded
(3.49 s); it passed alone.
Make both check their property without depending on the scheduler or the load
of the machine.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]