Author: jdcryans
Date: Tue Dec 7 00:42:00 2010
New Revision: 1042878
URL: http://svn.apache.org/viewvc?rev=1042878&view=rev
Log:
Fixing TestFSErrorsExposed by disabling the log syncer
Modified:
hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java
Modified:
hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java
URL:
http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java?rev=1042878&r1=1042877&r2=1042878&view=diff
==============================================================================
---
hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java
(original)
+++
hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java
Tue Dec 7 00:42:00 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");