]> granicus.if.org Git - postgresql/commit
Fix isolation test to be less timing-dependent
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 3 Jan 2018 14:16:42 +0000 (11:16 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 3 Jan 2018 15:08:16 +0000 (12:08 -0300)
commit2268e6afd59649d6bf6d114a19e9c492d59b43fc
tree30679bf6f6307d41f0a15decb12cdccf65729413
parent9d4649ca49416111aee2c84b7e4441a0b7aa2fac
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/20180103034445.t3utrtrnrevfsghm@alap3.anarazel.de
src/test/isolation/expected/multiple-cic.out
src/test/isolation/specs/multiple-cic.spec