hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffr...@apache.org
Subject svn commit: r1515031 - /hbase/trunk/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java
Date Sat, 17 Aug 2013 18:46:34 GMT
Author: jeffreyz
Date: Sat Aug 17 18:46:33 2013
New Revision: 1515031

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

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

Modified: hbase/trunk/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java?rev=1515031&r1=1515030&r2=1515031&view=diff
==============================================================================
--- hbase/trunk/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java
(original)
+++ hbase/trunk/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java
Sat Aug 17 18:46:33 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;



Mime
View raw message