Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e84e06d

Browse files
committed
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.)
1 parent dca3693 commit e84e06d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/isolation/specs/deadlock-hard.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ step "s7a8" { LOCK TABLE a8; }
6363
step "s7c" { COMMIT; }
6464

6565
session "s8"
66-
setup { BEGIN; SET deadlock_timeout = '5s'; }
66+
setup { BEGIN; SET deadlock_timeout = '10s'; }
6767
step "s8a8" { LOCK TABLE a8; }
6868
step "s8a1" { LOCK TABLE a1; }
6969
step "s8c" { COMMIT; }

0 commit comments

Comments
 (0)