carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QiangCai <...@git.apache.org>
Subject [GitHub] carbondata pull request #1480: [CARBONDATA-1693][Streaming] Change SegmentSt...
Date Mon, 13 Nov 2017 02:36:07 GMT
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


---

Mime
View raw message