tests: Cope with io_method in TEMP_CONFIG in test_aio

Andres Freund <andres@anarazel.de>

Commit: 327d987df1e72a9b146f312df0a5ed34ef148720
Author: Andres Freund <andres@anarazel.de>
Date: 2025-04-02T11:00:40Z
Releases: 18.0
tests: Cope with io_method in TEMP_CONFIG in test_aio

If io_method is set in TEMP_CONFIG the test added in 93bc3d75d8e fails,
because it assumes the io_method specified at initdb is actually used.

Fix that by appending the io_method again, after initdb (and thus after
TEMP_CONFIG has been added by Cluster.pm).

Per buildfarm animal bumblebee

Discussion: https://postgr.es/m/zh5u22wbpcyfw2ddl3lsvmsxf4yvsrvgxqwwmfjddc4c2khsgp@gfysyjsaelr5

Files

PathChange+/−
src/test/modules/test_aio/t/001_aio.pl modified +11 −0

Discussion