commit | 8b12ea60c8954f83d81ac87466725038fb63ea6e | [log] [tgz] |
---|---|---|
author | Abhishek Ravi <abhi.ravi@gmail.com> | Tue Mar 26 11:07:57 2019 -0400 |
committer | Abhishek Girish <agirish@apache.org> | Tue Mar 26 08:07:57 2019 -0700 |
tree | 4c8abbb3355820ad28b29bd14dd31c0206659c09 | |
parent | 360bad3f09dd35bf7f5855aaf77cdc42e623cb04 [diff] |
Remove custom logs in CmdConsOut, Add consoleErr for error logs (#561) (#562) (#563) * Remove custom logs in CmdConsOut - Changes to remove custom logging from CmdConsOut so that the returned result can be parsed, if needed. - Corresponding changes in the framework * Add toString to CmdConsOut for logging * Capture error messages on stdout as well - For certain commands, the error messages are thrown on stdout. Change here is to capture messages in stdout and stderr when exitcode is not 0. * Revert local logging change * Implement review comments - change field names * Implement code review comments - trivial change - remove tabs * Skip output / error when empty
Test Framework for SQL on Hadoop technologies. Currently supports Apache Drill, a schema-free SQL query engine for Hadoop, NoSQL and cloud storage.
The framework is built for regression, integration & sanity testing. Includes test coverage (with baselines) for core Drill functionality, and supported features. And are used by the Apache Drill community for pre-commit regression and part of the release criteria.
To begin using the test framework, you need to build the project and download dependent datasets (configured in pom.xml).
git clone git@github.com:mapr/drill-test-framework.git cd drill-test-framework bin/build_framework -Pdownload
If you've already downloaded the datasets previously, you can simply skip the download.
In the root directory of your repository, execute the following command to run tests:
bin/run_tests -s <suites> -g <groups> -t <Timeout> -x <Exclude> -n <Concurrency> -d
Example:
We encourage contributions from users! You can fix bugs, make enhancements or add new tests. Create a PR here on GitHub for your change.
Refer to CONTRIBUTING.md for details on the test framework structure and instructions on how to contribute.
Licensed under the Apache License 2.0. Please see LICENSE.md