cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alek...@apache.org
Subject [07/50] cassandra git commit: fix flapping DTCS test
Date Mon, 18 Jul 2016 15:43:22 GMT
fix flapping DTCS test


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/d5a15e45
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/d5a15e45
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/d5a15e45

Branch: refs/heads/cassandra-3.8
Commit: d5a15e45b080756bb553ad4f03ecb51edfed8400
Parents: 3c84361
Author: Marcus Eriksson <marcuse@apache.org>
Authored: Wed Jul 6 10:11:13 2016 +0200
Committer: Marcus Eriksson <marcuse@apache.org>
Committed: Wed Jul 6 10:11:13 2016 +0200

----------------------------------------------------------------------
 .../cassandra/db/compaction/DateTieredCompactionStrategyTest.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/d5a15e45/test/unit/org/apache/cassandra/db/compaction/DateTieredCompactionStrategyTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/db/compaction/DateTieredCompactionStrategyTest.java
b/test/unit/org/apache/cassandra/db/compaction/DateTieredCompactionStrategyTest.java
index 2fab014..3bc830b 100644
--- a/test/unit/org/apache/cassandra/db/compaction/DateTieredCompactionStrategyTest.java
+++ b/test/unit/org/apache/cassandra/db/compaction/DateTieredCompactionStrategyTest.java
@@ -368,5 +368,6 @@ public class DateTieredCompactionStrategyTest extends SchemaLoader
         AbstractCompactionTask task = dtcs.getNextBackgroundTask(0);
         assertEquals(20, task.transaction.originals().size());
         task.transaction.abort();
+        cfs.truncateBlocking();
     }
 }


Mime
View raw message