[ 
https://issues.apache.org/jira/browse/SPARK-60215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Hsieh updated SPARK-60215:
--------------------------------
    Description: 
Add tests for {{run()}} in {{{}python/pyspark/pipelines/cli.py{}}}, covering 
refresh option validation, session configuration, pipeline execution, and 
session cleanup on both success and failure.

Verify that arguments are passed correctly to pipeline operations and that 
exceptions propagate while the session is still stopped. Reuse existing 
coverage where applicable and add cases for missing behaviors.

  was:{{Add tests for the Pipelines CLI run path to verify that Spark session 
cleanup happens after successful execution and when an error occurs after 
session creation.}}


> Add tests coverage for the Pipelines CLI run function
> -----------------------------------------------------
>
>                 Key: SPARK-60215
>                 URL: https://issues.apache.org/jira/browse/SPARK-60215
>             Project: Spark
>          Issue Type: Test
>          Components: Declarative Pipelines
>    Affects Versions: 4.3.1
>            Reporter: David Hsieh
>            Priority: Minor
>
> Add tests for {{run()}} in {{{}python/pyspark/pipelines/cli.py{}}}, covering 
> refresh option validation, session configuration, pipeline execution, and 
> session cleanup on both success and failure.
> Verify that arguments are passed correctly to pipeline operations and that 
> exceptions propagate while the session is still stopped. Reuse existing 
> coverage where applicable and add cases for missing behaviors.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to