Github user QiangCai commented on a diff in the pull request: https://github.com/apache/carbondata/pull/1480#discussion_r150437817 --- Diff: integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/datacompaction/MajorCompactionIgnoreInMinorTest.scala --- @@ -118,7 +119,7 @@ class MajorCompactionIgnoreInMinorTest extends QueryTest with BeforeAndAfterAll val segs = SegmentStatusManager.readLoadMetadata(carbontablePath) // status should remain as compacted. - assert(segs(3).getLoadStatus.equalsIgnoreCase(CarbonCommonConstants.COMPACTED)) + assert(segs(3).getSegmentStatus == SegmentStatus.COMPACTED) --- End diff -- use assertEquals
---