Just an additional info. Repeating the test, I get odd executions as failed, even as successful. The error message remains the same: [junit] Testcase: testFilterOldSSTables(org.apache.cassandra.db.compaction.DateTieredCompactionStrategyTest): FAILED [junit] only the newest 2 sstables should remain expected:<2> but was:<42> [junit] junit.framework.AssertionFailedError: only the newest 2 sstables should remain expected:<2> but was:<42> [junit] at org.apache.cassandra.db.compaction.DateTieredCompactionStrategyTest.testFilterOldSSTables(DateTieredCompactionStrategyTest.java:276)
Giampaolo 2016-04-15 15:38 GMT+02:00 Giampaolo Trapasso < giampaolo.trapa...@radicalbit.io>: > Hi to all, > > I'm trying to do unit test on cassandra-2.2.5 > (dd76858c7652541c7b137323f7b9e154686d6fba) and I cannot correctly run them. > Let me explain. While on my personal laptop (OSX) it's all ok, I'm having > some troubles on a RedHat box where I want to put my CI. > > In particular, I have problems with the DateTieredCompactionStrategyTest. > I ran the test twice and, with surprise, the first run failed while the > immediate second succeeded. You can find the output of both test here > <https://gist.github.com/giampaolotrapasso/882f26cef098969cceb65d8143b4c60f#file-test-output-txt> > and the information about the distro is here > <https://gist.github.com/giampaolotrapasso/882f26cef098969cceb65d8143b4c60f#file-linux-distro-txt> > > > I kindly ask you if you could help me to solve this (for me) strange > situation. Any hint is appreciated. > > Thanks in advance > > Giampaolo >