[jira] [Updated] (SPARK-38089) Show the root cause exception in TestUtils.assertExceptionMsg

2022-02-02 Thread Dongjoon Hyun (Jira)


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

Dongjoon Hyun updated SPARK-38089:
--
Summary: Show the root cause exception in TestUtils.assertExceptionMsg  
(was: Improve assertion failure message in TestUtils.assertExceptionMsg)

> Show the root cause exception in TestUtils.assertExceptionMsg
> -
>
> Key: SPARK-38089
> URL: https://issues.apache.org/jira/browse/SPARK-38089
> Project: Spark
>  Issue Type: Improvement
>  Components: Spark Core, Tests
>Affects Versions: 3.2.1
>Reporter: Erik Krogen
>Assignee: Erik Krogen
>Priority: Major
> Fix For: 3.3.0
>
>
> {{TestUtils.assertExceptionMsg}} is great, but when the assertion _doesn't_ 
> match, it can be challenging to tell why, because the exception tree that was 
> searched isn't printed. Only way I could find to fix it up was to run things 
> in a debugger and check the exception tree.
> It would be very helpful if {{assertExceptionMsg}} printed out the exception 
> tree in which it was searching (upon failure).



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Updated] (SPARK-38089) Show the root cause exception in TestUtils.assertExceptionMsg

2022-02-02 Thread Dongjoon Hyun (Jira)


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

Dongjoon Hyun updated SPARK-38089:
--
Affects Version/s: 3.3.0
   (was: 3.2.1)

> Show the root cause exception in TestUtils.assertExceptionMsg
> -
>
> Key: SPARK-38089
> URL: https://issues.apache.org/jira/browse/SPARK-38089
> Project: Spark
>  Issue Type: Improvement
>  Components: Spark Core, Tests
>Affects Versions: 3.3.0
>Reporter: Erik Krogen
>Assignee: Erik Krogen
>Priority: Major
> Fix For: 3.3.0
>
>
> {{TestUtils.assertExceptionMsg}} is great, but when the assertion _doesn't_ 
> match, it can be challenging to tell why, because the exception tree that was 
> searched isn't printed. Only way I could find to fix it up was to run things 
> in a debugger and check the exception tree.
> It would be very helpful if {{assertExceptionMsg}} printed out the exception 
> tree in which it was searching (upon failure).



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org