| From: | Daniel Gustafsson <dgustafsson(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Wait for checksum state transition in test |
| Date: | 2026-09-01 09:29:50 |
| Message-ID: | E1x1KoP-000000031AC-3Fg1@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Wait for checksum state transition in test
The test for disabling data checksums after a failure didn't wait
for the state transition to complete before testing, which could
lead to false negatives in testing. Fix by passing the wait param
when disabling. Identified on buildfarm member culicidae.
Author: Daniel Gustafsson <daniel(at)yesql(dot)se>
Reported-by: Alexander Lakhin <exclusion(at)gmail(dot)com>
Reviewed-by: Alexander Lakhin <exclusion(at)gmail(dot)com>
Discussion: https://postgr.es/m/b2f34fd3-8e98-450e-9e8c-ac08238e9116@gmail.com
Backpatch-through: 19
Branch
------
REL_19_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/135b867a530cac2e3796d87c852b53bef40f0077
Modified Files
--------------
src/test/modules/test_checksums/t/005_injection.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2026-09-01 10:11:27 | pgsql: Fix memset invocation |
| Previous Message | Daniel Gustafsson | 2026-09-01 09:29:05 | pgsql: Wait for checksum state transition in test |