aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-02-11 11:59:11 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-02-11 11:59:11 -0500
commitb11d07b6a3fc64904731e3b9a467a2567bc7dcdb (patch)
tree43aa0a3a6a746494468810e6223e75ce5af1071e /src/backend/access/transam/xlog.c
parentd9dc2b4149c017c0a1d2045b858e8e0cc1a92464 (diff)
downloadpostgresql-b11d07b6a3fc64904731e3b9a467a2567bc7dcdb.tar.gz
postgresql-b11d07b6a3fc64904731e3b9a467a2567bc7dcdb.zip
Make new deadlock isolation test more reproducible.
The original formulation of 4c9864b9b4d87d02f07f40bb27976da737afdcab was extremely timing-sensitive, because it arranged for the deadlock detector to be running (and possibly unblocking the current query) at almost exactly the same time as isolationtester would be probing to see if the query is blocked. The committed expected-file assumed that the deadlock detection would finish first, but we see the opposite on both fast and slow buildfarm animals. Adjust the deadlock timeout settings to make it predictable that isolationtester *will* see the query as waiting before deadlock detection unblocks it. I used a 5s timeout for the same reasons mentioned in a7921f71a3c747141344d8604f6a6d7b4cddb2a9.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions