You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ty...@apache.org on 2014/07/31 00:03:11 UTC

git commit: Ninja: remove buggy test assertion from 2.1

Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1.0 08fd11dc1 -> 70c72b7ec


Ninja: remove buggy test assertion from 2.1

This was fixed by CASSANDRA-7390, but that fix starts with Cassandra
3.0.


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

Branch: refs/heads/cassandra-2.1.0
Commit: 70c72b7ec56367f9701ccf971363fc179bf2db50
Parents: 08fd11d
Author: Tyler Hobbs <ty...@datastax.com>
Authored: Wed Jul 30 17:02:10 2014 -0500
Committer: Tyler Hobbs <ty...@datastax.com>
Committed: Wed Jul 30 17:03:03 2014 -0500

----------------------------------------------------------------------
 test/unit/org/apache/cassandra/service/MoveTest.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/70c72b7e/test/unit/org/apache/cassandra/service/MoveTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/service/MoveTest.java b/test/unit/org/apache/cassandra/service/MoveTest.java
index a3fd89c..b802b11 100644
--- a/test/unit/org/apache/cassandra/service/MoveTest.java
+++ b/test/unit/org/apache/cassandra/service/MoveTest.java
@@ -137,7 +137,8 @@ public class MoveTest
                 	numMoved++;
                 }
             }
-            assertEquals("mismatched number of moved token", numMoved, 1);
+            // This assertion isn't reliable in 2.1.  See CASSANDRA-7390
+            // assertEquals("mismatched number of moved token", numMoved, 1);
         }
 
         // moving endpoint back to the normal state