commit | e040350c112f13d1a65db1fbd56749c2c50fde49 | [log] [tgz] |
---|---|---|
author | knguyen <knguyen@maprtech.com> | Fri Jul 22 13:11:41 2016 -0700 |
committer | knguyen <knguyen@maprtech.com> | Fri Jul 22 13:11:41 2016 -0700 |
tree | b78e581822e6cee2986e8152d768f372ab42ba74 | |
parent | b3caa6925e19913c7bed5d4c8f81f8fffdf24c8a [diff] |
Add additional test cases for DRILL-3474 based on previous review
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.
Refer to Github documentation on how to clone a repository.
cd
to an existing test suite).query1.sql
) and expected result files (ex: query1.e_tsv
) are co-located and share the same name.A test definition file is a JSON file that defines one or a set of tests within a directory. The framework scans for files with .json extension in the specified location(s) and executes all test(s) defined.
In the root directory of you repository, issue
bin/build_framework -Pdownload
to build the project and also download any dependent datasets configured in pom.xml
. If you already downloaded the dependent datasets, you can simply issue
bin/build_framework
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>
Example:
Zhiyong
Chun
Krystal
Ramana
Abhishek
Vicky
Suresh
Khurram
Rahul
Steven
Jacques
Jason
Sudheesh