Add more logging to track down test_gc_cutoff failure.

see https://github.com/neondatabase/neon/issues/2856
This commit is contained in:
Heikki Linnakangas
2022-11-19 12:06:33 +02:00
parent 3f39327622
commit ed40a045c0

View File

@@ -38,7 +38,7 @@ def test_gc_cutoff(neon_env_builder: NeonEnvBuilder, pg_bin: PgBin):
for _ in range(5):
with pytest.raises(Exception):
pg_bin.run_capture(["pgbench", "-N", "-c5", "-T200", "-Mprepared", connstr])
pg_bin.run_capture(["pgbench", "-P1", "-N", "-c5", "-T200", "-Mprepared", connstr])
env.pageserver.stop()
env.pageserver.start()
pageserver_http.configure_failpoints(("after-timeline-gc-removed-layers", "exit"))