You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ma...@apache.org on 2017/12/12 08:53:12 UTC

[2/3] cassandra git commit: Increase error margin in SplitterTest

Increase error margin in SplitterTest

Patch by marcuse; reviewed by Branimir Lambov for CASSANDRA-12917


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

Branch: refs/heads/trunk
Commit: 88a41fb826d68c56e60f88ea4c00c1b92a653e28
Parents: 50e6e72
Author: Marcus Eriksson <ma...@apache.org>
Authored: Wed Nov 16 16:32:04 2016 +0100
Committer: Marcus Eriksson <ma...@apache.org>
Committed: Tue Dec 12 09:51:01 2017 +0100

----------------------------------------------------------------------
 test/unit/org/apache/cassandra/dht/SplitterTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/88a41fb8/test/unit/org/apache/cassandra/dht/SplitterTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/dht/SplitterTest.java b/test/unit/org/apache/cassandra/dht/SplitterTest.java
index 751a7d7..b39c09f 100644
--- a/test/unit/org/apache/cassandra/dht/SplitterTest.java
+++ b/test/unit/org/apache/cassandra/dht/SplitterTest.java
@@ -97,7 +97,7 @@ public class SplitterTest
             start = end;
         }
         // when we dont need to keep around full ranges, the difference is small between the partitions
-        BigDecimal delta = splitIndividualRanges ? BigDecimal.valueOf(0.001) : BigDecimal.valueOf(0.2);
+        BigDecimal delta = splitIndividualRanges ? BigDecimal.valueOf(0.001) : BigDecimal.valueOf(0.25);
         boolean allBalanced = true;
         for (BigInteger b : splits)
         {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org