cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Zhuang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13151) Unicode unittest fail
Date Thu, 06 Apr 2017 22:03:41 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-13151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15959851#comment-15959851
] 

Jay Zhuang commented on CASSANDRA-13151:
----------------------------------------

Looks good to me. +1

Could you please also push the change to 3.11?

> Unicode unittest fail
> ---------------------
>
>                 Key: CASSANDRA-13151
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13151
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jay Zhuang
>            Assignee: Alex Petrov
>
> Following unittests are failed in 3.11 and trunk(4.0) branch
> {noformat}
> SASIIndexTest.testUnicodeSupport
> StandardAnalyzerTest.testTokenizationJaJp1
> StandardAnalyzerTest.testTokenizationJaJp2
> StandardAnalyzerTest.testTokenizationRuRu1
> StandardAnalyzerTest.testTokenizationZnTw1
> {noformat}
> It works fine on my local mac, but not linux server. I guess it's related to Unicode
setting. Does anyone have any idea on that? (could it be related to CASSANDRA-11077, CASSANDRA-11431?)
> Here are the failure details
> {noformat}
> $ ant testsome -Dtest.name=org.apache.cassandra.index.sasi.SASIIndexTest -Dtest.methods=testUnicodeSupport
> ...
>     [junit] Testcase: testUnicodeSupport(org.apache.cassandra.index.sasi.SASIIndexTest):
       FAILED
>     [junit] []
>     [junit] junit.framework.AssertionFailedError: []
>     [junit]     at org.apache.cassandra.index.sasi.SASIIndexTest.testUnicodeSupport(SASIIndexTest.java:1159)
>     [junit]     at org.apache.cassandra.index.sasi.SASIIndexTest.testUnicodeSupport(SASIIndexTest.java:1122)
> {noformat}
> {noformat}
> $ ant test -Dtest.name=StandardAnalyzerTest
> ...
>     [junit] Testcase: testTokenizationJaJp1(org.apache.cassandra.index.sasi.analyzer.StandardAnalyzerTest):
    FAILED
>     [junit] expected:<210> but was:<0>
>     [junit] junit.framework.AssertionFailedError: expected:<210> but was:<0>
>     [junit]     at org.apache.cassandra.index.sasi.analyzer.StandardAnalyzerTest.testTokenizationJaJp1(StandardAnalyzerTest.java:85)
>     [junit]
>     [junit]
>     [junit] Testcase: testTokenizationJaJp2(org.apache.cassandra.index.sasi.analyzer.StandardAnalyzerTest):
    FAILED
>     [junit] expected:<57> but was:<9>
>     [junit] junit.framework.AssertionFailedError: expected:<57> but was:<9>
>     [junit]     at org.apache.cassandra.index.sasi.analyzer.StandardAnalyzerTest.testTokenizationJaJp2(StandardAnalyzerTest.java:104)
>     [junit]
>     [junit]
>     [junit] Testcase: testTokenizationRuRu1(org.apache.cassandra.index.sasi.analyzer.StandardAnalyzerTest):
    FAILED
>     [junit] expected:<456> but was:<0>
>     [junit] junit.framework.AssertionFailedError: expected:<456> but was:<0>
>     [junit]     at org.apache.cassandra.index.sasi.analyzer.StandardAnalyzerTest.testTokenizationRuRu1(StandardAnalyzerTest.java:120)
>     [junit]
>     [junit]
>     [junit] Testcase: testTokenizationZnTw1(org.apache.cassandra.index.sasi.analyzer.StandardAnalyzerTest):
    FAILED
>     [junit] expected:<963> but was:<0>
>     [junit] junit.framework.AssertionFailedError: expected:<963> but was:<0>
>     [junit]     at org.apache.cassandra.index.sasi.analyzer.StandardAnalyzerTest.testTokenizationZnTw1(StandardAnalyzerTest.java:136)
>     [junit]
>     [junit]
>     [junit] Test org.apache.cassandra.index.sasi.analyzer.StandardAnalyzerTest FAILED
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message