]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Remove isolation test lock-stats
authorMichael Paquier <michael@paquier.xyz>
Tue, 24 Mar 2026 23:48:15 +0000 (08:48 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 24 Mar 2026 23:48:15 +0000 (08:48 +0900)
commit7c64d56fd9765bb577937c07eabed971e605c67c
treede6734508bf566686ff4a2716e5ef6989495b5c2
parent11f8018ee6784476d8dcee3ef64b267fb16fc374
Remove isolation test lock-stats

This test is proving to be unstable in the CI for Windows, at least.
The origin of the issue is that the deadlock_timeout requests may not
be processed, causing the lock stats to not be updated.  This could be
mitigated by making the hardcoded sleep longer, however this would cost
in runtime on fast machines.  On slow machines, there is no guarantee
that an augmented sleep would be enough.

An isolation test may not be the best method to write this test
(TAP test with injection point with a NOTICE+wait_for_log before
processing the deadlock_timeout request should remove the need of a
sleep).  As we are late in the release cycle, I am removing the test for
now to keep the CI and the buildfarm a maximum stable.  Let's revisit
this part later.

Discussion: https://postgr.es/m/hlkdrplgrmudbspibsuq6xooxrqxqsgwo6x5b6x5ptvkgjbe7w@xogt6xgua6dz
src/test/isolation/expected/lock-stats.out [deleted file]
src/test/isolation/isolation_schedule
src/test/isolation/specs/lock-stats.spec [deleted file]