[
https://issues.apache.org/jira/browse/CASSANDRA-13070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15877327#comment-15877327
]
Jay Zhuang commented on CASSANDRA-13070:
----------------------------------------
[~yukim] Thanks Yuki for the review. I'm still able to reproduce it from my mac
and linux host with current 3.0 branch
(https://github.com/apache/cassandra/commit/0eae9084e674876ac339bcc34d4e135f89b4d2fb):
{noformat}
[junit] Testcase:
antiCompactionSizeTest(org.apache.cassandra.db.compaction.AntiCompactionTest):
FAILED
[junit] expected:<1.29786604E8> but was:<1.13608285E8>
[junit] junit.framework.AssertionFailedError: expected:<1.29786604E8> but
was:<1.13608285E8>
[junit] at
org.apache.cassandra.db.compaction.AntiCompactionTest.antiCompactionSizeTest(AntiCompactionTest.java:164)
[junit]
[junit]
[junit] Test org.apache.cassandra.db.compaction.AntiCompactionTest FAILED
{noformat}
Not failed every time, for example, I run it 20 times, failed 13 times:
{noformat}
$ for i in {0..20}; do echo ==$i; ant testsome
-Dtest.name=org.apache.cassandra.db.compaction.AntiCompactionTest
-Dtest.methods=antiCompactionSizeTest; echo $i $? >> ~/testresult2; done
$ cat ~/testresult2
0 0
1 0
2 0
3 0
4 1
5 1
6 1
7 1
8 1
9 0
10 0
11 1
12 1
13 1
14 1
15 0
16 1
17 1
18 0
19 1
20 1
{noformat}
> unittest antiCompactionSizeTest is unstable
> -------------------------------------------
>
> Key: CASSANDRA-13070
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13070
> Project: Cassandra
> Issue Type: Bug
> Components: Testing
> Reporter: Jay Zhuang
> Assignee: Jay Zhuang
> Fix For: 3.0.x
>
> Attachments: 13070-3.0.txt
>
>
> Unittest
> {{org.apache.cassandra.db.compaction.AntiCompactionTest.antiCompactionSizeTest}}
> is failing from time to time on branch 3.0
> ([13e9396|https://github.com/apache/cassandra/commit/13e939624d21eaf6e16d60b28636125e817ab286]):
> {code}
> [junit] Testcase:
> antiCompactionSizeTest(org.apache.cassandra.db.compaction.AntiCompactionTest):
> FAILED
> [junit] expected:<1.29786604E8> but was:<1.13623354E8>
> [junit] junit.framework.AssertionFailedError: expected:<1.29786604E8> but
> was:<1.13623354E8>
> [junit] at
> org.apache.cassandra.db.compaction.AntiCompactionTest.antiCompactionSizeTest(AntiCompactionTest.java:164)
> {code}
> Run the single test 21 times:
> {code}
> for i in {0..20}; do echo ==$i; ant testsome
> -Dtest.name=org.apache.cassandra.db.compaction.AntiCompactionTest
> -Dtest.methods=antiCompactionSizeTest; echo $i $? >> ~/testresult; done
> {code}
> On mac, it passed for 5 times, on linux it passed for 6 times.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)