commit | 5adf73d0cb6d2a8abd77f385f2449e2d97f00b25 | [log] [tgz] |
---|---|---|
author | Anton Gozhiy <anton5813@gmail.com> | Sat Mar 12 11:20:48 2022 +0200 |
committer | Anton Gozhiy <anton5813@gmail.com> | Fri Apr 08 16:34:36 2022 +0300 |
tree | 39602b733f757411430c9bf057918609702ca1ac | |
parent | b4e0895bbd9c8204d3c1e19bf2531f0b4d490346 [diff] |
Added new data preparation phases New preparation phases: - "del" for deletion data that needs to be fresh - "mkdir" for directory creation - "ddl" for ddl files execution - "post_cp" for copying previously generated data Other changes: - Added a new exclude option "all", so starting tests with "-x all" argument will not run test suites with any dependency - Refactored test suites to use the newly added preparation phases instead of bash scripts - Temporary excluded several suites where "gen" scripts were too complicated
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. The Apache Drill community uses the framework for for pre-commit regression testing and as 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