Fixing TestFSErrorsExposed by disabling the log syncer

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1042878 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2010-12-07 00:42:00 +00:00
parent a5ce594797
commit 4094cd6ad8
1 changed files with 4 additions and 0 deletions

View File

@ -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");