impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Knupp (Code Review)" <>
Subject [Impala-CR](cdh5-trunk) IMPALA-3491: Use unique database fixture in test shell
Date Tue, 07 Jun 2016 23:15:10 GMT
David Knupp has uploaded a new patch set (#4).

Change subject: IMPALA-3491: Use unique_database fixture in

IMPALA-3491: Use unique_database fixture in

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/ 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.

Change-Id: Icdcb04a99c0907fc1ba56baa2497fafb33b0e34e
M tests/shell/
1 file changed, 100 insertions(+), 91 deletions(-)

  git pull ssh:// refs/changes/01/3301/4
To view, visit
To unsubscribe, visit

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Icdcb04a99c0907fc1ba56baa2497fafb33b0e34e
Gerrit-PatchSet: 4
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: David Knupp <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: David Knupp <>
Gerrit-Reviewer: Ishaan Joshi <>
Gerrit-Reviewer: Michael Brown <>

View raw message