HBASE-10589 Reduce unnecessary TestRowProcessorEndpoint resource usage
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1570763 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0039de35c8
commit
65e7b7e2e1
|
@ -173,7 +173,7 @@ public class TestRowProcessorEndpoint {
|
||||||
public void testReadModifyWrite() throws Throwable {
|
public void testReadModifyWrite() throws Throwable {
|
||||||
prepareTestData();
|
prepareTestData();
|
||||||
failures.set(0);
|
failures.set(0);
|
||||||
int numThreads = 1000;
|
int numThreads = 100;
|
||||||
concurrentExec(new IncrementRunner(), numThreads);
|
concurrentExec(new IncrementRunner(), numThreads);
|
||||||
Get get = new Get(ROW);
|
Get get = new Get(ROW);
|
||||||
LOG.debug("row keyvalues:" + stringifyKvs(table.get(get).listCells()));
|
LOG.debug("row keyvalues:" + stringifyKvs(table.get(get).listCells()));
|
||||||
|
@ -234,7 +234,7 @@ public class TestRowProcessorEndpoint {
|
||||||
public void testMultipleRows() throws Throwable {
|
public void testMultipleRows() throws Throwable {
|
||||||
prepareTestData();
|
prepareTestData();
|
||||||
failures.set(0);
|
failures.set(0);
|
||||||
int numThreads = 1000;
|
int numThreads = 100;
|
||||||
concurrentExec(new SwapRowsRunner(), numThreads);
|
concurrentExec(new SwapRowsRunner(), numThreads);
|
||||||
LOG.debug("row keyvalues:" +
|
LOG.debug("row keyvalues:" +
|
||||||
stringifyKvs(table.get(new Get(ROW)).listCells()));
|
stringifyKvs(table.get(new Get(ROW)).listCells()));
|
||||||
|
|
Loading…
Reference in New Issue