You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Indhumathi Muthu Murugesh (Jira)" <ji...@apache.org> on 2021/06/04 07:08:00 UTC
[jira] [Resolved] (CARBONDATA-4192) UT cases correction for
validating the exception message
[ 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)