Package org.apache.hive.testutils.junit.runners.model

Examples of org.apache.hive.testutils.junit.runners.model.ConcurrentScheduler


    String numThreadsProp = System.getProperty("test.concurrency.num.threads");
    if (numThreadsProp != null) {
      numThreads = Integer.valueOf(numThreadsProp);
    }

    setScheduler(new ConcurrentScheduler(newFixedThreadPool(numThreads, new ConcurrentTestRunnerThreadFactory())));

    System.err.println(">>> ConcurrenTestRunner initialize with " + numThreads + " threads");
    System.err.flush();
  }
View Full Code Here

TOP

Related Classes of org.apache.hive.testutils.junit.runners.model.ConcurrentScheduler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.