hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raw...@apache.org
Subject svn commit: r909980 - in /hadoop/hbase/trunk: CHANGES.txt src/test/org/apache/hadoop/hbase/zookeeper/HQuorumPeerTest.java src/test/org/apache/hadoop/hbase/zookeeper/TestHQuorumPeer.java
Date Sun, 14 Feb 2010 06:57:42 GMT
Author: rawson
Date: Sun Feb 14 06:57:41 2010
New Revision: 909980

URL: http://svn.apache.org/viewvc?rev=909980&view=rev
Log:
HBASE-2226 HQuorumPeerTest doesnt run because it doesnt start with the word Test


Added:
    hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/zookeeper/TestHQuorumPeer.java
      - copied, changed from r909979, hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/zookeeper/HQuorumPeerTest.java
Removed:
    hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/zookeeper/HQuorumPeerTest.java
Modified:
    hadoop/hbase/trunk/CHANGES.txt

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=909980&r1=909979&r2=909980&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Sun Feb 14 06:57:41 2010
@@ -204,6 +204,7 @@
                should be reversed (Adrian Popescu via Stack)
    HBASE-2224  Broken build: TestGetRowVersions.testGetRowMultipleVersions
    HBASE-2129  ant tar build broken since switch to Ivy (Kay Kay via Stack)
+   HBASE-2226  HQuorumPeerTest doesnt run because it doesnt start with the word Test
 
   IMPROVEMENTS
    HBASE-1760  Cleanup TODOs in HTable

Copied: hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/zookeeper/TestHQuorumPeer.java
(from r909979, hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/zookeeper/HQuorumPeerTest.java)
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/zookeeper/TestHQuorumPeer.java?p2=hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/zookeeper/TestHQuorumPeer.java&p1=hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/zookeeper/HQuorumPeerTest.java&r1=909979&r2=909980&rev=909980&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/zookeeper/HQuorumPeerTest.java (original)
+++ hadoop/hbase/trunk/src/test/org/apache/hadoop/hbase/zookeeper/TestHQuorumPeer.java Sun
Feb 14 06:57:41 2010
@@ -33,7 +33,7 @@
 /**
  * Test for HQuorumPeer.
  */
-public class HQuorumPeerTest extends HBaseTestCase {
+public class TestHQuorumPeer extends HBaseTestCase {
   private Path dataDir;
 
   @Override
@@ -63,7 +63,7 @@
   /** */
   public void testMakeZKProps() {
     Properties properties = HQuorumPeer.makeZKProps(conf);
-    assertEquals(2000, Integer.parseInt(properties.getProperty("tickTime")));
+    assertEquals(3000, Integer.parseInt(properties.getProperty("tickTime")));
     assertEquals(Integer.valueOf(10), Integer.valueOf(properties.getProperty("initLimit")));
     assertEquals(Integer.valueOf(5), Integer.valueOf(properties.getProperty("syncLimit")));
     assertEquals(dataDir.toString(), properties.get("dataDir"));
@@ -74,7 +74,7 @@
     String oldValue = conf.get(HConstants.ZOOKEEPER_QUORUM);
     conf.set(HConstants.ZOOKEEPER_QUORUM, "a.foo.bar,b.foo.bar,c.foo.bar");
     properties = HQuorumPeer.makeZKProps(conf);
-    assertEquals(2000, Integer.parseInt(properties.getProperty("tickTime")));
+    assertEquals(3000, Integer.parseInt(properties.getProperty("tickTime")));
     assertEquals(Integer.valueOf(10), Integer.valueOf(properties.getProperty("initLimit")));
     assertEquals(Integer.valueOf(5), Integer.valueOf(properties.getProperty("syncLimit")));
     assertEquals(dataDir.toString(), properties.get("dataDir"));



Mime
View raw message