HBASE-9255: TestAsyncProcess#testErrorsServers is flaky on suse linux

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1515031 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jeffreyz 2013-08-17 18:46:33 +00:00
parent 8b39e48691
commit 40870be471
1 changed files with 3 additions and 2 deletions

View File

@ -580,12 +580,13 @@ public class TestAsyncProcess {
}
@Test
public void testErrorsServers() throws InterruptedIOException,
RetriesExhaustedWithDetailsException {
public void testErrorsServers() throws IOException {
HTable ht = new HTable();
Configuration configuration = new Configuration(conf);
configuration.setBoolean(HConnectionManager.RETRIES_BY_SERVER_KEY, true);
configuration.setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 20);
// set default writeBufferSize
ht.setWriteBufferSize(configuration.getLong("hbase.client.write.buffer", 2097152));
MyConnectionImpl mci = new MyConnectionImpl(configuration);
ht.connection = mci;