hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From li...@apache.org
Subject svn commit: r1527014 - /hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLog.java
Date Fri, 27 Sep 2013 18:18:19 GMT
Author: liyin
Date: Fri Sep 27 18:18:19 2013
New Revision: 1527014

URL: http://svn.apache.org/r1527014
Log:
[master] fix testHLog#testAppendClose

Author: fan

Summary: Increase sleep time for DFS to shut down cleanly.

Test Plan: Unit test pass

Reviewers: liyintang, adela

Reviewed By: liyintang

CC: hbase-eng@

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

Task ID: 2729130

Modified:
    hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLog.java

Modified: hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLog.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLog.java?rev=1527014&r1=1527013&r2=1527014&view=diff
==============================================================================
--- hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLog.java
(original)
+++ hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLog.java
Fri Sep 27 18:18:19 2013
@@ -329,7 +329,7 @@ public class TestHLog  {
   // 2. HDFS-988 (SafeMode should freeze file operations
   //              [FSNamesystem.nextGenerationStampForBlock])
   // 3. HDFS-142 (on restart, maintain pendingCreates)
-  //@Test
+  @Test
   public void testAppendClose() throws Exception {
     byte [] tableName = Bytes.toBytes(getName());
     HRegionInfo regioninfo = new HRegionInfo(new HTableDescriptor(tableName),
@@ -370,7 +370,7 @@ public class TestHLog  {
         Thread.sleep(1000);
       }
       LOG.info("Waiting a few seconds before re-starting HDFS");
-      Thread.sleep(5000);
+      Thread.sleep(10000);
       cluster = TEST_UTIL.startMiniDFSClusterForTestHLog(namenodePort);
       cluster.waitActive();
       fs = cluster.getFileSystem();



Mime
View raw message