[jira] [Updated] (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] [Updated] (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 ]

Mahesh Raju Somalaraju updated CARBONDATA-4192:
-----------------------------------------------
    Priority: Minor  (was: Major)

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