[pgpool-committers: 2628] pgpool: Fix regress test to sleep after pgpool_reload
nagata at sraoss.co.jp
Wed Aug 19 17:24:54 JST 2015
Fix regress test to sleep after pgpool_reload
Some regression tests test behaviors after pgpool-II configuration
is modified and reloaded. However, sometimes these modification
were not applied to pgpool just after reloading.
It was observed after the following commit.
Author: Tatsuo Ishii <ishii at postgresql.org>
Date: Thu Aug 6 13:02:42 2015 +0900
Issue fsync() when writing pgpool_status.
This ensures that pgpool_status is saved to permanent storage and
allow to survive after system crash.
It seem to be because fsync() takes a time before SIGHUP is sent
to child processes in reload_config().
Fix is to add sleep to wait for applying modification after
In addition, some messages are added to test for debugging.
test/regression/tests/001.load_balance/test.sh | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
More information about the pgpool-committers