]> granicus.if.org Git - postgresql/commit
Disable fsync throughout TAP test suites.
authorNoah Misch <noah@leadboat.com>
Thu, 3 Sep 2015 04:29:11 +0000 (00:29 -0400)
committerNoah Misch <noah@leadboat.com>
Thu, 3 Sep 2015 04:29:11 +0000 (00:29 -0400)
commit7d7a103f41fbdc54e608c431ead866061289307d
tree46d8c7e7a03765d5f3cda4474fe4a8c2421f7e0a
parenta09009e4278439f99d03adfefe2eec72ca35dcc3
Disable fsync throughout TAP test suites.

Most suites already did so via start_test_server(), but the pg_rewind,
pg_ctl and pg_controldata suites ran a postmaster or initdb with fsync
enabled.  This halves the pg_rewind suite's runtime on buildfarm member
tern.  It makes tern and that machine's other buildfarm members less
vulnerable to noise failures from postmaster startup overrunning the 60s
pg_ctl timeout.  Back-patch to 9.5, where pg_rewind was introduced.
src/bin/pg_controldata/t/001_pg_controldata.pl
src/bin/pg_ctl/t/001_start_stop.pl
src/test/perl/TestLib.pm