pgsql: Further tweaking of deadlock isolation tests.
pgsql: Further tweaking of deadlock isolation tests.
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Further tweaking of deadlock isolation tests. The new deadlock-soft-2 test has a timing dependency too: it supposes that isolationtester will detect step s1b as waiting before the deadlock detector runs and grants it the lock. Adjust deadlock_timeout to ensure that that's true even in CLOBBER_CACHE_ALWAYS builds, where the wait detection query is quite slow. Per buildfarm member jaguarundi. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/caefc11ef6613683ddf8ded2081da3db238f463e Modified Files -------------- src/test/isolation/specs/deadlock-soft-2.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)