You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by je...@apache.org on 2013/08/17 20:50:43 UTC

svn commit: r1515033 - /hbase/branches/0.95/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java

Author: jeffreyz
Date: Sat Aug 17 18:50:42 2013
New Revision: 1515033

URL: http://svn.apache.org/r1515033
Log:
HBASE-9255: TestAsyncProcess#testErrorsServers is flaky on suse linux

Modified:
    hbase/branches/0.95/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java

Modified: hbase/branches/0.95/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java?rev=1515033&r1=1515032&r2=1515033&view=diff
==============================================================================
--- hbase/branches/0.95/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java (original)
+++ hbase/branches/0.95/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java Sat Aug 17 18:50:42 2013
@@ -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;