Package org.apache.hive.ptest.execution

Examples of org.apache.hive.ptest.execution.PTest.run()


            PTest ptest = mPTestBuilder.build(testConfiguration, mExecutionContext,
                test.getStartRequest().getTestHandle(), logDir,
                localCommandFactory, new SSHCommandExecutor(logger),
                new RSyncCommandExecutor(logger, mExecutionContextConfiguration.getMaxRsyncThreads(),
                  localCommandFactory), logger);
            int result = ptest.run();
            if(result == Constants.EXIT_CODE_SUCCESS) {
              test.setStatus(Status.ok());
            } else {
              test.setStatus(Status.failed("Tests failed with exit code " + result));
            }
View Full Code Here


            testConfiguration.setClearLibraryCache(startRequest.isClearLibraryCache());
            PTest ptest = mPTestBuilder.build(testConfiguration, mExecutionContext,
                test.getStartRequest().getTestHandle(), logDir,
                new LocalCommandFactory(logger), new SSHCommandExecutor(logger),
                new RSyncCommandExecutor(logger), logger);
            int result = ptest.run();
            if(result == Constants.EXIT_CODE_SUCCESS) {
              test.setStatus(Status.ok());
            } else {
              test.setStatus(Status.failed("Tests failed with exit code " + result));
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.