Echoslayer opened a new pull request, #59375:
URL: https://github.com/apache/spark/pull/59375

   #### What changes were proposed in this pull request?
   
   Add six tests. No production code changes.
   
   - `test_client_retries.py`: exact jitter (random delay) thresholds, backoff 
limits and independent retry state; error classification and mixed error 
details; uncapped server delays and disabled delay recognition.
   - `test_progress.py`: environment-controlled output and completion callbacks 
after an exception with display disabled. Only `"1"` enables output; `"true"` 
does not.
   
   JIRA: https://issues.apache.org/jira/browse/SPARK-60172
   
   #### Why are the changes needed?
   
   Existing retry tests check default waits and limits, but not these exact 
boundaries and options. Progress tests do not combine disabled display with an 
exception.
   
   #### Does this PR introduce _any_ user-facing change?
   
   No.
   
   #### How was this patch tested?
   
   ```bash
   source /Users/wizard/Desktop/MacCode/spark/.venv/bin/activate
   OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES SPARK_LOCAL_IP=127.0.0.1 
python/run-tests \
     --python-executables python3 --parallelism 1 --keep-test-output \
     --testnames 
'pyspark.sql.tests.connect.client.test_client_retries,pyspark.sql.tests.connect.test_connect_retry,pyspark.sql.tests.connect.shell.test_progress'
   
   dev/lint-python
   
   git diff --check
   ```
   
   - All 44 tests passed on Python 3.12.12, with no failures, errors or skips: 
24 client retry tests, 9 retry-policy tests, 7 progress unit tests, 2 progress 
integration tests and 2 remote-mode checks.
   - Full `dev/lint-python` and `git diff --check`: passed on the final scope 
after removing logging.
   
   Integration tests used existing Hive-enabled JARs with the worktree's Python 
source; JVM artifacts were not rebuilt. The full PySpark SQL suite was not run, 
and coverage percentages were not measured.
   
   #### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: OpenAI Codex (GPT-6 Astra)


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