summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2016-02-12 22:22:42 +0000
committerTom Lane2016-02-12 22:22:42 +0000
commite84e06d2b3fc48c514fd44f7ac390eb5f3e20d72 (patch)
treececacae27287078545fbb1bf7d70bc1e6b2fa151
parentdca369320f6023b55feb49f281d394181fc57903 (diff)
Increase deadlock_timeout some more in the deadlock-hard isolation test.
The previous value of 5s is inadequate for the buildfarm's CLOBBER_CACHE_ALWAYS animals: they take long enough to do the is-it-waiting queries that the timeout expires, allowing the database state to change, before isolationtester is done looking. Perhaps 10s will be enough. (If it isn't, I'm inclined to reduce the number of sessions involved.)
-rw-r--r--src/test/isolation/specs/deadlock-hard.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/isolation/specs/deadlock-hard.spec b/src/test/isolation/specs/deadlock-hard.spec
index 1131ec1a97..67aad66e66 100644
--- a/src/test/isolation/specs/deadlock-hard.spec
+++ b/src/test/isolation/specs/deadlock-hard.spec
@@ -63,7 +63,7 @@ step "s7a8" { LOCK TABLE a8; }
step "s7c" { COMMIT; }
session "s8"
-setup { BEGIN; SET deadlock_timeout = '5s'; }
+setup { BEGIN; SET deadlock_timeout = '10s'; }
step "s8a8" { LOCK TABLE a8; }
step "s8a1" { LOCK TABLE a1; }
step "s8c" { COMMIT; }