mirror of
https://github.com/apache/impala.git
synced 2026-01-08 12:02:54 -05:00
This is the first set of changes required to start getting our functional test infrastructure moved from JUnit to Python. After investigating a number of option, I decided to go with a python test executor named py.test (http://pytest.org/). It is very flexible, open source (MIT licensed), and will enable us to do some cool things like parallel test execution. As part of this change, we now use our "test vectors" for query test execution. This will be very nice because it means if load the "core" dataset you know you will be able to run the "core" query tests (specified by --exploration_strategy when running the tests). You will see that now each combination of table format + query exec options is treated like an individual test case. this will make it much easier to debug exactly where something failed. These new tests can be run using the script at tests/run-tests.sh
19 lines
660 B
Plaintext
19 lines
660 B
Plaintext
====
|
|
---- QUERY
|
|
select count(*) from bad_seq_snap
|
|
---- ERRORS
|
|
Bad sync hash in HdfsSequenceScanner at file offset 899498.
|
|
Expected: '6e 91 6 ec be 78 a0 ac 72 10 7e 41 b4 da 93 3c '
|
|
Actual: '6e 91 6 78 78 78 a0 ac 72 10 7e 41 b4 da 93 3c '
|
|
Format error in record or block header at offset: 899494
|
|
Format error in record or block header at offset: 1784305
|
|
Format error in record or block header at offset: 1790543
|
|
Format error in record or block header at offset: 1791224
|
|
Format error in record or block header at end of file.
|
|
First error while processing: hdfs: test-warehouse/bad_seq_snap/bad_file at offset: 899514
|
|
---- TYPES
|
|
bigint
|
|
---- RESULTS
|
|
9434
|
|
====
|