cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tylerho...@apache.org
Subject [1/3] git commit: Ninja: remove buggy test assertion from 2.1
Date Wed, 30 Jul 2014 22:04:42 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk c37322097 -> fec97df34


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/trunk
Commit: 70c72b7ec56367f9701ccf971363fc179bf2db50
Parents: 08fd11d
Author: Tyler Hobbs <tyler@datastax.com>
Authored: Wed Jul 30 17:02:10 2014 -0500
Committer: Tyler Hobbs <tyler@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


Mime
View raw message