cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sn...@apache.org
Subject [04/15] cassandra git commit: AutoSavingCache does not store required keys making RowCacheTests Flaky
Date Wed, 04 Jan 2017 12:39:28 GMT
AutoSavingCache does not store required keys making RowCacheTests Flaky

patch by Jay Zhuang; reviewed by Robert Stupp for CASSANDRA-12453


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

Branch: refs/heads/cassandra-3.11
Commit: 8a112ca8ae58df5b85d67f901ca6093917859941
Parents: e4f7325
Author: Jay Zhuang <jay.zhuang@yahoo.com>
Authored: Wed Jan 4 13:32:23 2017 +0100
Committer: Robert Stupp <snazy@snazy.de>
Committed: Wed Jan 4 13:32:23 2017 +0100

----------------------------------------------------------------------
 test/unit/org/apache/cassandra/db/RowCacheTest.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/8a112ca8/test/unit/org/apache/cassandra/db/RowCacheTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/db/RowCacheTest.java b/test/unit/org/apache/cassandra/db/RowCacheTest.java
index 0c0396c..332714fb 100644
--- a/test/unit/org/apache/cassandra/db/RowCacheTest.java
+++ b/test/unit/org/apache/cassandra/db/RowCacheTest.java
@@ -62,6 +62,7 @@ public class RowCacheTest
     @BeforeClass
     public static void defineSchema() throws ConfigurationException
     {
+        System.setProperty("org.caffinitas.ohc.segmentCount", "16");
         SchemaLoader.prepareServer();
         SchemaLoader.createKeyspace(KEYSPACE_CACHED,
                 SimpleStrategy.class,


Mime
View raw message