pgsql: injection_points: Re-enable permutation in isolation test "basic

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: injection_points: Re-enable permutation in isolation test "basic
Date: 2025-02-06 01:41:03
Message-ID: E1tfqt5-005azj-Cw@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

injection_points: Re-enable permutation in isolation test "basic"

This test has been disabled in 9f00edc22888 due to an instable expected
output, where it would be possible for the wait step to report its
result after the detach step is done. The expected output was ordered
so as the detach would always report last.

Isolation test permutations have the option to use markers to control
the ordering for cases like this one, as documented in
src/test/isolation/README. The permutation is enabled once again, this
time with a marker added so as the detach step reports only once the
wait step has finished, ensuring a correct output ordering.

Reviewed-by: Bertrand Drouvot
Discussion: https://postgr.es/m/Z6MBZTX5EqQ6A8Zc@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9e020050b8fa8e184bc1d58e6a4bc1edfa76cb8c

Modified Files
--------------
.../modules/injection_points/expected/basic.out | 26 ++++++++++++++++++++++
src/test/modules/injection_points/specs/basic.spec | 11 +++++----
2 files changed, 31 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2025-02-06 15:26:37 pgsql: pgcrypto: Remove static storage class from variables
Previous Message Nathan Bossart 2025-02-05 21:49:56 pgsql: Introduce autovacuum_vacuum_max_threshold.