cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tylerho...@apache.org
Subject [1/2] git commit: Ninja: remove buggy test assertion from 2.1
Date Thu, 31 Jul 2014 20:42:13 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1.0 8e4415b69 -> 85bcd2d74


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/1879d992
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/1879d992
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/1879d992

Branch: refs/heads/cassandra-2.1.0
Commit: 1879d9928b506845f45578580f2a902d41409c8d
Parents: 563a04b
Author: Tyler Hobbs <tyler@datastax.com>
Authored: Thu Jul 31 15:41:06 2014 -0500
Committer: Tyler Hobbs <tyler@datastax.com>
Committed: Thu Jul 31 15:41:06 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/1879d992/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 6ecd500..834411b 100644
--- a/test/unit/org/apache/cassandra/service/MoveTest.java
+++ b/test/unit/org/apache/cassandra/service/MoveTest.java
@@ -138,7 +138,8 @@ public class MoveTest
                 	numMoved++;
                 }
             }
-            assertEquals("mismatched number of moved token", numMoved, 1);
+            // This assertion isn't reliable in 2.0 and 2.1.  See CASSANDRA-7390
+            // assertEquals("mismatched number of moved token", numMoved, 1);
         }
 
         // moving endpoint back to the normal state


Mime
View raw message