pgsql: Make src/test/recovery/t/017_shm.pl safe for concurrentexecutio - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Make src/test/recovery/t/017_shm.pl safe for concurrentexecutio
Date
Msg-id E1hBvry-0001IL-2E@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make src/test/recovery/t/017_shm.pl safe for concurrent execution.

Buildfarm members idiacanthus and komodoensis, which share a host, both
executed this test in the same second.  That failed.  Back-patch to 9.6,
where the test first appeared.

Discussion: https://postgr.es/m/20190404020543.GA1319573@rfd.leadboat.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1106438c37db44cbd627490dec3b662d4cc5b4f8

Modified Files
--------------
src/test/recovery/t/017_shm.pl | 33 ++++++++++++++++++++++++++++-----
1 file changed, 28 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: Consistently test for in-use shared memory.
Next
From: Noah Misch
Date:
Subject: pgsql: Fix back-patch of 16ee6eaf80a40007a138b60bb5661660058d0422 tov9