• Alvaro Herrera's avatar
    Make new isolationtester test more stable · 54638f57
    Alvaro Herrera authored
    The original coding of the test was relying too much on the ordering in
    which backends are awakened once an advisory lock which they wait for is
    released.  Change the code so that each backend uses its own advisory
    lock instead, so that the output becomes stable.  Also add a few seconds
    of sleep between lock releases, so that the test isn't broken in
    overloaded buildfarm animals, as suggested by Tom Lane.
    
    Per buildfarm members spoonbill and guaibasaurus.
    
    Discussion: https://www.postgresql.org/message-id/19294.1456551587%40sss.pgh.pa.us
    54638f57
tuplelock-update.spec 1.18 KB