mirror of
https://github.com/apache/impala.git
synced 2025-12-31 06:02:51 -05:00
Before this change, a single test database was created for the entire suite, and each test was marked to run serially. With the addition of a test fixture in tests/conftest.py to create a unique database per each individual method, it's possible now to run the tests in parallel. (The tables required by individual tests are created via local test fixtures.) As such, any methods which had been responsible for setting up the test database were removed. Pytest markers for running tests serially were also removed, except in cases where interactions from running concurrency would affect other tests. Additional minor changes were made to improve PEP-8 compliance. The non-serial tests were run in a loop ten times to confirm that there weren't any unexpected failures. Review: https://gerrit.cloudera.org/#/c/3301/ Change-Id: Icdcb04a99c0907fc1ba56baa2497fafb33b0e34e Reviewed-on: http://gerrit.cloudera.org:8080/3301 Reviewed-by: David Knupp <dknupp@cloudera.com> Tested-by: Internal Jenkins