Reduce the duration of the pgbench test.

We'll want to run it for longer when doing benchmarking, but 5 seconds
should be enough to tease out any basic bugs.
This commit is contained in:
Heikki Linnakangas
2021-05-05 15:47:13 +03:00
parent 8e57c2e413
commit efa4ecaa7c
2 changed files with 2 additions and 2 deletions

View File

@@ -7,4 +7,4 @@ 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 100 -P 1 -M prepared postgres'.split())
'pgbench -h localhost -p 55432 -c 10 -T 5 -P 1 -M prepared postgres'.split())