You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by li...@apache.org on 2014/04/24 20:18:38 UTC

svn commit: r1589820 - /hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/io/encoding/TestChangingEncoding.java

Author: liyin
Date: Thu Apr 24 18:18:37 2014
New Revision: 1589820

URL: http://svn.apache.org/r1589820
Log:
[HBASE-9704] Increasing the timeout on TestChangingEncoding#testCrazyRandomChanges

Author: manukranthk

Summary: Will increase the timeout here but keep the task open(mid-pri) for investigation later. This seemed like a better quick fix than muting.

Test Plan: Run the unit tests.

Reviewers: liyintang, adela, rshroff, gauravm, daviddeng

Reviewed By: daviddeng

CC: hbase-eng@

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

Task ID: 4191764

Modified:
    hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/io/encoding/TestChangingEncoding.java

Modified: hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/io/encoding/TestChangingEncoding.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/io/encoding/TestChangingEncoding.java?rev=1589820&r1=1589819&r2=1589820&view=diff
==============================================================================
--- hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/io/encoding/TestChangingEncoding.java (original)
+++ hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/io/encoding/TestChangingEncoding.java Thu Apr 24 18:18:37 2014
@@ -248,7 +248,7 @@ public class TestChangingEncoding {
     LOG.debug("Compaction queue size reached 0, continuing");
   }
 
-  @Test(timeout=TIMEOUT_MS)
+  @Test(timeout=360000)
   public void testCrazyRandomChanges() throws Exception {
     prepareTest("RandomChanges");
     Random rand = new Random(2934298742974297L);
@@ -291,7 +291,9 @@ public class TestChangingEncoding {
 
     assertTrue("Compaction scanners should not match encoded data blocks",
             newCountCompaction - oldCountCompaction > 0);
-    assertEquals("Get scanners should match encoded data", 0,
+    assertEquals("Get scanners should match encoded data. " +
+        "oldCountNonCompaction : " + oldCountNonCompaction +
+        ", newCountNonCompaction : " + newCountNonCompaction, 0,
             newCountNonCompaction - oldCountNonCompaction);
   }
 }