pgsql: tests: Cope with io_method in TEMP_CONFIG in test_aio

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: tests: Cope with io_method in TEMP_CONFIG in test_aio
Date: 2025-04-02 11:27:20
Message-ID: E1tzwFc-002HS9-1m@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/327d987df1e72a9b146f312df0a5ed34ef148720

Modified Files
--------------
src/test/modules/test_aio/t/001_aio.pl | 11 +++++++++++
1 file changed, 11 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-04-02 11:44:18 pgsql: Add support for NOT ENFORCED in foreign key constraints
Previous Message Tomas Vondra 2025-04-02 10:32:15 Re: pgsql: Allow parallel CREATE INDEX for GIN indexes