mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-09 22:42:57 +00:00
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:
@@ -80,7 +80,7 @@ fn pgbench() {
|
||||
let node = compute_cplane.new_test_node(maintli);
|
||||
node.start().unwrap();
|
||||
|
||||
let status = node.pg_bench(10, 100);
|
||||
let status = node.pg_bench(10, 5);
|
||||
assert!(status.success());
|
||||
}
|
||||
|
||||
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user