[jira] [Resolved] (CARBONDATA-4192) UT cases correction for validating the exception message

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (CARBONDATA-4192) UT cases correction for validating the exception message

Akash R Nilugal (Jira)

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

Indhumathi Muthu Murugesh resolved CARBONDATA-4192.
---------------------------------------------------
    Fix Version/s: 2.2.0
       Resolution: Fixed

> UT cases correction for validating the exception message
> --------------------------------------------------------
>
>                 Key: CARBONDATA-4192
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-4192
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Mahesh Raju Somalaraju
>            Priority: Minor
>             Fix For: 2.2.0
>
>          Time Spent: 4h 40m
>  Remaining Estimate: 0h
>
> UT cases correction for validating the exception message
> 1) Currently, when we check the exception message below, it is not catching the message content.
> ```
> intercept[UnsupportedOperationException](
>  sql("update test set(a)=(4) where id=1").collect()).getMessage.contains("abc")
> ```
> 2) Added for assert condition with exception message for some UT casesĀ 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)