mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 18:02:56 +00:00
tests are based on self-hosted runner which is physically close to our staging deployment in aws, currently tests consist of various configurations of pgbenchi runs. Also these changes rework benchmark fixture by removing globals and allowing to collect reports with desired metrics and dump them to json for further analysis. This is also applicable to usual performance tests which use local zenith binaries.
9 lines
356 B
Python
9 lines
356 B
Python
# pytest some has quirks with discovering plugins, so having it there just works
|
|
# probably we should create custom plugin and add it to pytest config to always have needed things at hand
|
|
def pytest_addoption(parser):
|
|
parser.addoption(
|
|
"--out-dir",
|
|
dest="out_dir",
|
|
help="Directory to ouput performance tests results to.",
|
|
)
|