This commit is contained in:
Konstantin Knizhnik
2024-03-28 23:09:33 +02:00
parent 6a42b6b87f
commit 86762ba313
2 changed files with 2 additions and 2 deletions

View File

@@ -1,2 +1,2 @@
select sum(abalance) pgbench_accounts;
select sum(abalance) from pgbench_accounts;

View File

@@ -23,7 +23,7 @@ def test_pageserver_restarts_under_worload(neon_simple_env: NeonEnv, pg_bin: PgB
def run_pgbench(connstr: str):
log.info(f"Start a pgbench workload on pg {connstr}")
pg_bin.run_capture(["pgbench", "-i", f"-s{scale}", connstr])
pg_bin.run_capture(["pgbench", "-c", "10", "-f", "select.sql", f"-T{n_restarts}", connstr])
pg_bin.run_capture(["pgbench", "-c", "10", "-f", "test_runner/regress/select.sql", f"-T{n_restarts}", connstr])
thread = threading.Thread(target=run_pgbench, args=(endpoint.connstr(),), daemon=True)
thread.start()