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:43 +0000 (00:29 -0400)
commit8d60549d6d39fbc1501f11a31f007c36975891e8
tree0bfb6f94066f22e9edbf3ee458ac59407ce6c95e
parente2e78acccaa94e7d64dc2bc0b124cfcf23520918
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