cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcken...@apache.org
Subject [1/3] cassandra git commit: Ninja follow-on to 10115 - fix LeveledCompactionStrategyTest
Date Fri, 21 Aug 2015 14:53:08 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk e5b64f841 -> 34b893aff


Ninja follow-on to 10115 - fix LeveledCompactionStrategyTest


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

Branch: refs/heads/trunk
Commit: ab6287612e8c7d8b944d3833ca90bd8b887b9709
Parents: cd46ca1
Author: Joshua McKenzie <jmckenzie@apache.org>
Authored: Fri Aug 21 10:52:11 2015 -0400
Committer: Joshua McKenzie <jmckenzie@apache.org>
Committed: Fri Aug 21 10:52:11 2015 -0400

----------------------------------------------------------------------
 .../db/compaction/LeveledCompactionStrategyTest.java    | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/ab628761/test/unit/org/apache/cassandra/db/compaction/LeveledCompactionStrategyTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/db/compaction/LeveledCompactionStrategyTest.java
b/test/unit/org/apache/cassandra/db/compaction/LeveledCompactionStrategyTest.java
index ccfc6ab..03aaf03 100644
--- a/test/unit/org/apache/cassandra/db/compaction/LeveledCompactionStrategyTest.java
+++ b/test/unit/org/apache/cassandra/db/compaction/LeveledCompactionStrategyTest.java
@@ -172,8 +172,8 @@ public class LeveledCompactionStrategyTest
         ByteBuffer value = ByteBuffer.wrap(b); // 100 KB value, make it easy to have multiple
files
 
         // Enough data to have a level 1 and 2
-        int rows = 20;
-        int columns = 10;
+        int rows = 40;
+        int columns = 20;
 
         // Adds enough data to trigger multiple sstable per level
         for (int r = 0; r < rows; r++)
@@ -258,8 +258,8 @@ public class LeveledCompactionStrategyTest
         ByteBuffer value = ByteBuffer.wrap(new byte[100 * 1024]); // 100 KB value, make it
easy to have multiple files
 
         // Enough data to have a level 1 and 2
-        int rows = 20;
-        int columns = 10;
+        int rows = 40;
+        int columns = 20;
 
         // Adds enough data to trigger multiple sstable per level
         for (int r = 0; r < rows; r++)
@@ -306,8 +306,8 @@ public class LeveledCompactionStrategyTest
         ByteBuffer value = ByteBuffer.wrap(b); // 100 KB value, make it easy to have multiple
files
 
         // Enough data to have a level 1 and 2
-        int rows = 20;
-        int columns = 10;
+        int rows = 40;
+        int columns = 20;
 
         // Adds enough data to trigger multiple sstable per level
         for (int r = 0; r < rows; r++)


Mime
View raw message