Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-4192

UT cases correction for validating the exception message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.2.0
    • None
    • None

    Description

      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Ā 

      Attachments

        Activity

          People

            Unassigned Unassigned
            maheshrajus Mahesh Raju Somalaraju
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 5h 50m
                5h 50m