pgsql: Fix isolation test to be less timing-dependent - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Fix isolation test to be less timing-dependent
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
Fix isolation test to be less timing-dependent

I did this by adding another locking process, which makes the other two
wait.  This way the output should be stable enough.

Per buildfarm and Andres Freund
Discussion: https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2268e6afd59649d6bf6d114a19e9c492d59b43fc

Modified Files
--------------
src/test/isolation/expected/multiple-cic.out | 17 +++++++++++------
src/test/isolation/specs/multiple-cic.spec   | 12 ++++++++----
2 files changed, 19 insertions(+), 10 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Fix deadlock hazard in CREATE INDEX CONCURRENTLY
Next
From: Alvaro Herrera
Date:
Subject: Re: pgsql: Fix deadlock hazard in CREATE INDEX CONCURRENTLY