mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-26 23:59:58 +00:00
We'll want to run it for longer when doing benchmarking, but 5 seconds should be enough to tease out any basic bugs.
11 lines
310 B
Python
11 lines
310 B
Python
import pytest
|
|
|
|
pytest_plugins = ("fixtures.zenith_fixtures")
|
|
|
|
|
|
def test_pgbench(zen_simple):
|
|
zen_simple.pg_bin.run_capture(
|
|
'pgbench -h localhost -p 55432 -i postgres'.split())
|
|
zen_simple.pg_bin.run_capture(
|
|
'pgbench -h localhost -p 55432 -c 10 -T 5 -P 1 -M prepared postgres'.split())
|