cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r808742 - /incubator/cassandra/trunk/test/unit/org/apache/cassandra/db/BootstrapTest.java
Date Fri, 28 Aug 2009 03:05:49 GMT
Author: jbellis
Date: Fri Aug 28 03:05:49 2009
New Revision: 808742

URL: http://svn.apache.org/viewvc?rev=808742&view=rev
Log:
call doAntiCompaction in the tests the same way we do in the actual code -- by submitting
it to the MinorCompactionManager so it serializes with other compaction tasks.  patch by Sandeep
Tata; reviewed by jbellis for CASSANDRA-395

Modified:
    incubator/cassandra/trunk/test/unit/org/apache/cassandra/db/BootstrapTest.java

Modified: incubator/cassandra/trunk/test/unit/org/apache/cassandra/db/BootstrapTest.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/test/unit/org/apache/cassandra/db/BootstrapTest.java?rev=808742&r1=808741&r2=808742&view=diff
==============================================================================
--- incubator/cassandra/trunk/test/unit/org/apache/cassandra/db/BootstrapTest.java (original)
+++ incubator/cassandra/trunk/test/unit/org/apache/cassandra/db/BootstrapTest.java Fri Aug
28 03:05:49 2009
@@ -60,7 +60,7 @@
         Range r = new Range(partitioner.getToken("0"), partitioner.getToken("zzzzzzz"));
         ranges.add(r);
 
-        boolean result = store.doAntiCompaction(ranges, new EndPoint("127.0.0.1", 9150),
fileList);
+        boolean result = store.forceCompaction(ranges, new EndPoint("127.0.0.1", 9150), 0,
fileList);
 
         assertEquals(true, result); // some keys should have qualified
         assertEquals(true, fileList.size() >= 3); //Data, index, filter files



Mime
View raw message