pgsql: Wait for checksum state transition in test

Started by Daniel Gustafsson3 months ago1 messagescommitters
Jump to latest
#1Daniel Gustafsson
dgustafsson@postgresql.org

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@yesql.se>
Reported-by: Alexander Lakhin <exclusion@gmail.com>
Reviewed-by: Alexander Lakhin <exclusion@gmail.com>
Discussion: /messages/by-id/b2f34fd3-8e98-450e-9e8c-ac08238e9116@gmail.com
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5313fc415d90d435b91f7c0786a1630e05440759

Modified Files
--------------
src/test/modules/test_checksums/t/005_injection.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)