Package org.apache.hive.ptest.execution.conf

Examples of org.apache.hive.ptest.execution.conf.UnitTestBatch


    Assert.assertTrue(new File(testDir, QFILENAME).createNewFile());
    testBatch = new QFileTestBatch("testcase", DRIVER, "qfile", Sets.newHashSet(QFILENAME), isParallel);
    testBatches = Collections.singletonList(testBatch);
  }
  private void setupUnitTest() throws Exception {
    testBatch = new UnitTestBatch("testcase", DRIVER, false);
    testBatches = Collections.singletonList(testBatch);
  }
View Full Code Here


    succeededLogDir = Dirs.create(new File(logDir, "succeeded"));
    failedLogDir = Dirs.create(new File(logDir, "failed"));
    parallelWorkQueue = new LinkedBlockingQueue<TestBatch>();
    isolatedWorkQueue = new LinkedBlockingQueue<TestBatch>();
    failedTestResults = Sets.newHashSet();
    testBatchParallel1 = new UnitTestBatch("testcase", DRIVER_PARALLEL_1, true);
    testBatchParallel2 = new UnitTestBatch("testcase", DRIVER_PARALLEL_2, true);
    testBatchIsolated1 = new UnitTestBatch("testcase", DRIVER_ISOLATED_1, false);
    testBatchIsolated2 = new UnitTestBatch("testcase", DRIVER_ISOLATED_2, false);
    executor = MoreExecutors.listeningDecorator(Executors.newFixedThreadPool(2));
    localCommandFactory = new MockLocalCommandFactory(LOG);
    localCommand = mock(LocalCommand.class);
    localCommandFactory.setInstance(localCommand);
    sshCommandExecutor = spy(new MockSSHCommandExecutor(LOG));
View Full Code Here

TOP

Related Classes of org.apache.hive.ptest.execution.conf.UnitTestBatch

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.