cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1202903 - /cassandra/branches/cassandra-1.0/test/unit/org/apache/cassandra/io/sstable/SSTableReaderTest.java
Date Wed, 16 Nov 2011 22:02:04 GMT
Author: jbellis
Date: Wed Nov 16 22:02:03 2011
New Revision: 1202903

URL: http://svn.apache.org/viewvc?rev=1202903&view=rev
Log:
actually test persistent-ness in testPeristentStatistics

Modified:
    cassandra/branches/cassandra-1.0/test/unit/org/apache/cassandra/io/sstable/SSTableReaderTest.java

Modified: cassandra/branches/cassandra-1.0/test/unit/org/apache/cassandra/io/sstable/SSTableReaderTest.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-1.0/test/unit/org/apache/cassandra/io/sstable/SSTableReaderTest.java?rev=1202903&r1=1202902&r2=1202903&view=diff
==============================================================================
--- cassandra/branches/cassandra-1.0/test/unit/org/apache/cassandra/io/sstable/SSTableReaderTest.java
(original)
+++ cassandra/branches/cassandra-1.0/test/unit/org/apache/cassandra/io/sstable/SSTableReaderTest.java
Wed Nov 16 22:02:03 2011
@@ -148,6 +148,9 @@ public class SSTableReaderTest extends C
             rm.apply();
         }
         store.forceBlockingFlush();
+
+        store.clearUnsafe();
+        store.loadNewSSTables();
         assert store.getMaxRowSize() != 0;
     }
 



Mime
View raw message