pgsql: Make src/test/recovery/t/017_shm.pl safe for concurrent executio

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make src/test/recovery/t/017_shm.pl safe for concurrent executio
Date: 2019-04-04 06:29:02
Message-ID: E1hBvry-0001IP-31@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3186d5fac55bdba9364ae2daa5b1180c9eaa8968

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

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2019-04-04 07:06:19 pgsql: Fix back-patch of 16ee6eaf80a40007a138b60bb5661660058d0422 to v9
Previous Message Andres Freund 2019-04-04 02:00:57 Re: pgsql: Consistently test for in-use shared memory.