Skip to content

Commit

Permalink
HBASE-24158 [Flakey Tests] TestAsyncTableGetMultiThreaded
Browse files Browse the repository at this point in the history
  • Loading branch information
saintstack authored and thangTang committed Apr 16, 2020
1 parent da6c9b1 commit fc6c0d6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ protected static void setUp(MemoryCompactionPolicy memoryCompaction) throws Exce
TEST_UTIL.getConfiguration().set(CompactingMemStore.COMPACTING_MEMSTORE_TYPE_KEY,
String.valueOf(memoryCompaction));

TEST_UTIL.startMiniCluster(5);
TEST_UTIL.startMiniCluster(3);
SPLIT_KEYS = new byte[8][];
for (int i = 111; i < 999; i += 111) {
SPLIT_KEYS[i / 111 - 1] = Bytes.toBytes(String.format("%03d", i));
Expand Down Expand Up @@ -134,7 +134,7 @@ private void run(AtomicBoolean stop) throws InterruptedException, ExecutionExcep
@Test
public void test() throws Exception {
LOG.info("====== Test started ======");
int numThreads = 10;
int numThreads = 7;
AtomicBoolean stop = new AtomicBoolean(false);
ExecutorService executor =
Executors.newFixedThreadPool(numThreads, Threads.newDaemonThreadFactory("TestAsyncGet-"));
Expand Down

0 comments on commit fc6c0d6

Please sign in to comment.