# 🔍 Description ## Issue References 🔗 This pull request fixes #6281 Following up to #6343 , this PR adds `pytest-xdist` plugin to speed up python client unit testing ## Types of changes 🔖 - [ ] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 #### Behavior Without This Pull Request ⚰️ Running tests usually takes ~10 mins #### Behavior With This Pull Request 🎉 Running tests can take up to 5 mins #### Related Unit Tests --- # Checklist 📝 - [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6369 from sudohainguyen/ci/speed-up-test. Closes #6281 f0ce55719 [Harry] [KYUUBI #6281][PY] Speed up testing with xdist plugin Authored-by: Harry <quanghai.ng1512@gmail.com> Signed-off-by: Cheng Pan <chengpan@apache.org>
19 lines
701 B
INI
19 lines
701 B
INI
[egg_info]
|
|
tag_build =
|
|
|
|
[tool:pytest]
|
|
addopts = -n 4 --tb=short --cov pyhive --cov-report html --cov-report term
|
|
norecursedirs = env
|
|
python_files = test_*.py
|
|
filterwarnings =
|
|
error
|
|
# For Python 2 flake8
|
|
default:You passed a bytestring as `filenames`:DeprecationWarning:flake8.options.config
|
|
default::UnicodeWarning:_pytest.warnings
|
|
# TODO For old sqlalchemy
|
|
default:cgi.parse_qsl is deprecated:PendingDeprecationWarning:sqlalchemy.engine.url
|
|
# TODO
|
|
default:Did not recognize type:sqlalchemy.exc.SAWarning
|
|
default:The Binary type has been renamed to LargeBinary:sqlalchemy.exc.SADeprecationWarning
|
|
default:Please use assertRaisesRegex instead:DeprecationWarning
|