Jay Zhuang created CASSANDRA-13070:
--------------------------------------
Summary: 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
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.4#6332)