git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 89f059b)
Don't enable fsync in src/test/recovery/t/008_fsm_truncation.pl.
2022年1月19日 17:36:49 +0000 (12:36 -0500)
2022年1月19日 17:36:49 +0000 (12:36 -0500)
In adverse circumstances, the fsync calls cause this test to run for
quite a long time (multiple minutes) and even suffer timeout failures.
This seems to date from before we made an effort to disable fsync in
all our test cases; there's not a lot of point in using it if there's
not a plan to force an O/S crash during the test.

Discussion: https://postgr.es/m/440239.1642560607@sss.pgh.pa.us


diff --git a/src/test/recovery/t/008_fsm_truncation.pl b/src/test/recovery/t/008_fsm_truncation.pl
index cbf6e217d95c2737f8c3cfa416d143c8bbad17ce..ee48c217cfe1ea26966a7fafa7f4d1a5c71d3d24 100644 (file)
--- a/src/test/recovery/t/008_fsm_truncation.pl
+++ b/src/test/recovery/t/008_fsm_truncation.pl
@@ -17,7 +17,6 @@ $node_primary->init(allows_streaming => 1);
$node_primary->append_conf(
'postgresql.conf', qq{
-fsync = on
wal_log_hints = on
max_prepared_transactions = 5
autovacuum = off
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /