You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by jd...@apache.org on 2010/12/07 01:42:21 UTC

svn commit: r1042879 - /hbase/branches/0.90/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java

Author: jdcryans
Date: Tue Dec  7 00:42:21 2010
New Revision: 1042879

URL: http://svn.apache.org/viewvc?rev=1042879&view=rev
Log:
Fixing TestFSErrorsExposed by disabling the log syncer

Modified:
    hbase/branches/0.90/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java

Modified: hbase/branches/0.90/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java?rev=1042879&r1=1042878&r2=1042879&view=diff
==============================================================================
--- hbase/branches/0.90/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java (original)
+++ hbase/branches/0.90/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java Tue Dec  7 00:42:21 2010
@@ -151,6 +151,10 @@ public class TestFSErrorsExposed {
   @Test
   public void testFullSystemBubblesFSErrors() throws Exception {
     try {
+      // We set it not to run or it will trigger server shutdown while sync'ing
+      // because all the datanodes are bad
+      util.getConfiguration().setInt(
+          "hbase.regionserver.optionallogflushinterval", Integer.MAX_VALUE);
       util.startMiniCluster(1);
       byte[] tableName = Bytes.toBytes("table");
       byte[] fam = Bytes.toBytes("fam");