summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorTom Lane2017-06-26 18:39:55 +0000
committerTom Lane2017-06-26 18:39:55 +0000
commit5c77690f6f419c504b7d8248db30c2280217e72e (patch)
tree3627a189deed2d853b79db3f8265c632ef4a39cb /src/backend/access/gist/gistget.c
parent5efccc1cb43005a832776ed9158d2704fd976f8f (diff)
Improve wait logic in TAP tests for streaming replication.
Remove hard-wired sleep(2) delays in 001_stream_rep.pl in favor of using poll_query_until to check for the desired state to appear. In addition, add such a wait before the last test in the script, as it's possible to demonstrate failures there after upcoming improvements in pg_ctl. (We might end up adding polling before each of the get_slot_xmins calls in this script, but I feel no great need to do that until shown necessary.) In passing, clarify the description strings for some of the test cases. Michael Paquier and Craig Ringer, pursuant to a complaint from me Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions