aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2016-04-15 13:58:14 +0900
committerFujii Masao <fujii@postgresql.org>2016-04-15 13:58:14 +0900
commit36c1c91604cee164c6487afb99508f7ff8737b96 (patch)
tree6329708d87ed546eddeabcb7a72b44c758acf2e9 /src/backend/access/gist/gistxlog.c
parentf0e766bd7f77774075297526bd2da8f3de226c1f (diff)
downloadpostgresql-36c1c91604cee164c6487afb99508f7ff8737b96.tar.gz
postgresql-36c1c91604cee164c6487afb99508f7ff8737b96.zip
Make regression test for multiple synchronous standbys more stable.
The regression test checks whether the output of pg_stat_replication is expected or not after changing synchronous_standby_names and reloading the configuration file. Regarding this test logic, previously there was a timing issue which made the test result unstable. That is, pg_stat_replication could return unexpected result during small window after the configuration file was reloaded before new setting value took effect, and which made the test fail. This commit changes the test logic so that it uses a loop with a timeout to give some room for the test to pass. Now the test fails only when pg_stat_replication keeps returning unexpected result for 30 seconds. Michael Paquier
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions