hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mbau...@apache.org
Subject svn commit: r1397026 - /hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/util/TestLoadTestKVGenerator.java
Date Thu, 11 Oct 2012 12:50:41 GMT
Author: mbautin
Date: Thu Oct 11 12:50:40 2012
New Revision: 1397026

URL: http://svn.apache.org/viewvc?rev=1397026&view=rev
Log:
[HBASE-6923] Fix unit test failure in TestLoadTestKVGenerator

Author: kranganathan

Summary: Changed key format, need a fix in the test as well.

Test Plan: Tested by running the unit test

Reviewers: mbautin

Reviewed By: mbautin

CC: hbase-eng@

Differential Revision: https://phabricator.fb.com/D596934

Modified:
    hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/util/TestLoadTestKVGenerator.java

Modified: hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/util/TestLoadTestKVGenerator.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/util/TestLoadTestKVGenerator.java?rev=1397026&r1=1397025&r2=1397026&view=diff
==============================================================================
--- hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/util/TestLoadTestKVGenerator.java
(original)
+++ hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/util/TestLoadTestKVGenerator.java
Thu Oct 11 12:50:40 2012
@@ -63,7 +63,7 @@ public class TestLoadTestKVGenerator {
     for (int i = 0; i < 1000; ++i) {
       String k = LoadTestKVGenerator.md5PrefixedKey(i);
       assertFalse(keys.contains(k));
-      assertTrue(k.endsWith("-" + i));
+      assertTrue(k.endsWith(":" + i));
       keys.add(k);
     }
   }



Mime
View raw message