Peter Bendel
c11b9cb43d
Run Performance bench on more platforms ( #8312 )
...
## Problem
https://github.com/neondatabase/cloud/issues/14721
## Summary of changes
add one more platform to benchmarking job
57535c039c/.github/workflows/benchmarking.yml (L57C3-L126)
Run with pg 16, provisioner k8-neonvm by default on the new platform.
Adjust some test cases to
- not depend on database client <-> database server latency by pushing
loops into server side pl/pgSQL functions
- increase statement and test timeouts
First successful run of these job steps
https://github.com/neondatabase/neon/actions/runs/9869817756/job/27254280428
2024-07-11 10:07:12 +01:00
Joonas Koivunen
762a8a7bb5
python: more linting ( #4734 )
...
Ruff has "B" class of lints, including B018 which will nag on useless
expressions, related to #4719 . Enable such lints and fix the existing
issues.
Most notably:
- https://beta.ruff.rs/docs/rules/mutable-argument-default/
- https://beta.ruff.rs/docs/rules/assert-false/
---------
Co-authored-by: Alexander Bayandin <alexander@neon.tech >
2023-07-18 12:56:40 +03:00
Alexander Bayandin
2a3f54002c
test_runner: update dependencies ( #4328 )
...
## Problem
`pytest` 6 truncates error messages and this is not configured.
It's fixed in `pytest` 7, it prints the whole message (truncating limit
is higher) if `--verbose` is set (it's set on CI).
## Summary of changes
- `pytest` and `pytest` plugins are updated to their latest versions
- linters (`black` and `ruff`) are updated to their latest versions
- `mypy` and types are updated to their latest versions, new warnings
are fixed
- while we're here, allure updated its latest version as well
2023-05-24 12:47:01 +01:00
Alexander Bayandin
4c2bb43775
Reformat all python files by black & isort
2022-08-22 14:57:09 +01:00
Alexander Bayandin
00c26ff3a3
Bring periodic perf tests on GitHub back ( #2037 )
...
* test/fixtures: fix DeprecationWarning
* workflows/benchmarking: increase timeout
* test: switch pgbench to default(simple) query mode
* test/performance: ensure we don't have tables that we're creating
* workflows/pg_clients: remove unused env var
* workflows/benchmarking: change platform name
2022-07-07 19:53:23 +01:00
bojanserafimov
90e2c9ee1f
Rename zenith to neon in python tests ( #1871 )
2022-06-02 16:21:28 -04:00
bojanserafimov
02e5083695
Add hot page test ( #1479 )
2022-05-04 12:45:01 -04:00