hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject svn commit: r1570766 - /hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRowProcessorEndpoint.java
Date Sat, 22 Feb 2014 00:34:36 GMT
Author: apurtell
Date: Sat Feb 22 00:34:35 2014
New Revision: 1570766

URL: http://svn.apache.org/r1570766
Log:
HBASE-10589 Reduce unnecessary TestRowProcessorEndpoint resource usage

Modified:
    hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRowProcessorEndpoint.java

Modified: hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRowProcessorEndpoint.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRowProcessorEndpoint.java?rev=1570766&r1=1570765&r2=1570766&view=diff
==============================================================================
--- hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRowProcessorEndpoint.java
(original)
+++ hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRowProcessorEndpoint.java
Sat Feb 22 00:34:35 2014
@@ -173,7 +173,7 @@ public class TestRowProcessorEndpoint {
   public void testReadModifyWrite() throws Throwable {
     prepareTestData();
     failures.set(0);
-    int numThreads = 1000;
+    int numThreads = 100;
     concurrentExec(new IncrementRunner(), numThreads);
     Get get = new Get(ROW);
     LOG.debug("row keyvalues:" + stringifyKvs(table.get(get).listCells()));
@@ -234,7 +234,7 @@ public class TestRowProcessorEndpoint {
   public void testMultipleRows() throws Throwable {
     prepareTestData();
     failures.set(0);
-    int numThreads = 1000;
+    int numThreads = 100;
     concurrentExec(new SwapRowsRunner(), numThreads);
     LOG.debug("row keyvalues:" +
               stringifyKvs(table.get(new Get(ROW)).listCells()));



Mime
View raw message