mirror of
https://github.com/postgres/postgres.git
synced 2025-10-18 04:29:09 +03:00
Increase timeout delays in new timeouts isolation test.
Buildfarm member friarbird doesn't like this test as-committed, evidently because it's so slow that the test framework doesn't reliably notice that the backend is waiting before the timeout goes off. (This is not totally surprising, since friarbird builds with -DCLOBBER_CACHE_ALWAYS.) Increase the timeout delay from 1 second to 2 in hopes of resolving that problem.
This commit is contained in:
@@ -19,10 +19,10 @@ teardown { ABORT; }
|
||||
|
||||
session "s2"
|
||||
setup { BEGIN ISOLATION LEVEL READ COMMITTED; }
|
||||
step "sto" { SET statement_timeout = 1000; }
|
||||
step "lto" { SET lock_timeout = 1000; }
|
||||
step "lsto" { SET lock_timeout = 1000; SET statement_timeout = 2000; }
|
||||
step "slto" { SET lock_timeout = 2000; SET statement_timeout = 1000; }
|
||||
step "sto" { SET statement_timeout = 2000; }
|
||||
step "lto" { SET lock_timeout = 2000; }
|
||||
step "lsto" { SET lock_timeout = 2000; SET statement_timeout = 3000; }
|
||||
step "slto" { SET lock_timeout = 3000; SET statement_timeout = 2000; }
|
||||
step "locktbl" { LOCK TABLE accounts; }
|
||||
step "update" { DELETE FROM accounts WHERE accountid = 'checking'; }
|
||||
teardown { ABORT; }
|
||||
|
Reference in New Issue
Block a user