cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdeggles...@apache.org
Subject cassandra git commit: ninja: fixing MetadataSerializerTest
Date Fri, 14 Apr 2017 23:32:44 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 8a6fc4e2a -> 82668ff75


ninja: fixing MetadataSerializerTest


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

Branch: refs/heads/trunk
Commit: 82668ff7524fd060288d7b57e73003500bd5dd5a
Parents: 8a6fc4e
Author: Blake Eggleston <bdeggleston@gmail.com>
Authored: Fri Apr 14 11:33:07 2017 -0700
Committer: Blake Eggleston <bdeggleston@gmail.com>
Committed: Fri Apr 14 16:32:14 2017 -0700

----------------------------------------------------------------------
 .../io/sstable/metadata/MetadataSerializerTest.java          | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/82668ff7/test/unit/org/apache/cassandra/io/sstable/metadata/MetadataSerializerTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/io/sstable/metadata/MetadataSerializerTest.java
b/test/unit/org/apache/cassandra/io/sstable/metadata/MetadataSerializerTest.java
index b918dfd..95d2a77 100644
--- a/test/unit/org/apache/cassandra/io/sstable/metadata/MetadataSerializerTest.java
+++ b/test/unit/org/apache/cassandra/io/sstable/metadata/MetadataSerializerTest.java
@@ -121,9 +121,9 @@ public class MetadataSerializerTest
     }
 
     @Test
-    public void testMdReadMc() throws IOException
+    public void testNaReadMc() throws IOException
     {
-        testOldReadsNew("mc", "md");
+        testOldReadsNew("mc", "na");
     }
 
     public void testOldReadsNew(String oldV, String newV) throws IOException
@@ -160,7 +160,7 @@ public class MetadataSerializerTest
     {
         Version mc = BigFormat.instance.getVersion("mc");
         assertFalse(mc.hasPendingRepair());
-        Version md = BigFormat.instance.getVersion("md");
-        assertTrue(md.hasPendingRepair());
+        Version na = BigFormat.instance.getVersion("na");
+        assertTrue(na.hasPendingRepair());
     }
 }


Mime
View raw message