Login  Register

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

Posted by Akash R Nilugal (Jira) on May 25, 2021; 11:15am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/jira-Created-CARBONDATA-4192-UT-cases-correction-for-validating-the-exception-message-tp108373.html

Mahesh Raju Somalaraju created CARBONDATA-4192:
--------------------------------------------------

             Summary: 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


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)