HBASE-14513 TestBucketCache runs obnoxious 1k threads in a unit test

This commit is contained in:
stack 2015-09-29 16:19:34 -07:00
parent e0929bbc5a
commit c04d18970e
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ public class TestBucketCache {
final int CACHE_SIZE = 1000000; final int CACHE_SIZE = 1000000;
final int NUM_BLOCKS = 100; final int NUM_BLOCKS = 100;
final int BLOCK_SIZE = CACHE_SIZE / NUM_BLOCKS; final int BLOCK_SIZE = CACHE_SIZE / NUM_BLOCKS;
final int NUM_THREADS = 1000; final int NUM_THREADS = 100;
final int NUM_QUERIES = 10000; final int NUM_QUERIES = 10000;
final long capacitySize = 32 * 1024 * 1024; final long capacitySize = 32 * 1024 * 1024;