| Interface | Description |
|---|---|
| DruidStorageTest |
This is a category used to mark unit tests that test the Druid storage plugin.
|
| EvfTest |
A category for tests that test the "Extended Vector Framework"
(EVF): the mechanism that drives the plugin-based scan operator.
|
| HbaseStorageTest |
This is a category used to mark unit tests that test the HBase storage plugin.
|
| HiveStorageTest |
This is a category used to mark unit tests that test the Hive storage plugin.
|
| JdbcStorageTest |
This is a category used to mark unit tests that test the Jdbc storage plugin.
|
| JdbcTest |
This is a category used to mark unit tests that test the Drill Jdbc driver.
|
| JsonTest |
Tests for JSON-related tests: parser, writer, etc..
|
| KafkaStorageTest |
This is a category used to mark unit tests that test the Kafka storage plugin.
|
| KuduStorageTest |
This is a category used to mark unit tests that test the Kudu storage plugin.
|
| MemoryTest |
This is a category used to mark unit tests that test memory resource management.
|
| MetastoreTest |
This is a category used to mark unit tests that test the Drill Metastore and its components.
|
| MongoStorageTest |
This is a category used to mark unit tests that test the MongoDB storage plugin.
|
| OperatorTest |
This is a category used to mark unit tests that test Drill physical operators.
|
| OptionsTest |
This is a category used to mark unit tests that test Drill's option system.
|
| ParquetTest |
This is a category used to mark unit tests that test Drill Parquet support.
|
| PlannerTest |
This is a category used to mark unit tests that test Drill logical and physical
planning.
|
| ResourceManagerTest | |
| RowSetTests |
A category for tests that test the RowSet, ResultSetLoader
and related mechanisms.
|
| SecurityTest |
This is a category used to mark unit tests that test Drill security features.
|
| SlowTest |
A category for tests that take a long time to run.
|
| SqlFunctionTest |
This is a category used to mark unit tests that test sql functions.
|
| SqlTest |
This is a category used to mark unit tests that test Drill sql support.
|
| UnlikelyTest |
This is a category for tests which target very specific bugs or that exercise corner cases that your unlikely to break.
|
| VectorTest |
This is a category used to mark unit tests that test Drill vectors.
|
| Class | Description |
|---|---|
| SplunkStorageTest |
This is a category used to mark unit tests that test the Splunk storage plugin.
|
This package stores the JUnit test categories. The theory behind categories is that there are three broad categories of tests:
SlowTest or UnlikelyTest.SlowTest: These tests run slowly, and are disabled by default.UnlikelyTest: These tests represent corner cases, specific bug fixes, or tests for pieces of code that are unlikely to be changed.
These are disabled by defaultIn additon to each broad category there are functional categories including but not limited to:
SecurityTestHiveStorageTestNow here are some examples of how to run different sets of tests.
In order to run only the FastTests you can do:
mvn -T 1C clean install
In order to run only the FastTests and UnlikelyTests you can do:
mvn -T 1C clean install -DexcludedGroups="org.apache.drill.categories.SlowTest"
In order to run all the tests you can do:
mvn -T 1C clean install -DexcludedGroups=""
In order to run all the fast security tests:
mvn -T 1C clean install -Dgroups="org.apache.drill.categories.SecurityTest"
In order to run all the security tests:
mvn -T 1C clean install -Dgroups="org.apache.drill.categories.SecurityTest" -DexcludedGroups=""
Copyright © 2021 The Apache Software Foundation. All rights reserved.