pgsql: test_shm_mq: Replace WAIT_EVENT_EXTENSION with custom wait event

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: test_shm_mq: Replace WAIT_EVENT_EXTENSION with custom wait event
Date: 2023-10-04 08:12:36
Message-ID: E1qnwzk-007Qkg-KT@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

test_shm_mq: Replace WAIT_EVENT_EXTENSION with custom wait events

Two custom wait events are added here:
- "TestShmMqBgWorkerStartup", when setting up a set of bgworkers in
wait_for_workers_to_become_ready().
- "TestShmMqMessageQueue", when waiting for a queued message in
test_shm_mq_pipelined().

Author: Masahiro Ikeda
Discussion: https://postgr.es/m/197bce267fa691a0ac62c86c4ab904c4@oss.nttdata.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3338a9838298c4b42e2829373f70228c4fc50652

Modified Files
--------------
src/test/modules/test_shm_mq/setup.c | 9 ++++++++-
src/test/modules/test_shm_mq/test.c | 9 ++++++++-
2 files changed, 16 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2023-10-04 13:08:12 pgsql: doc: Clarify not-null constraints in information schema
Previous Message Michael Paquier 2023-10-04 07:25:22 pgsql: worker_spi: Rename custom wait event to "WorkerSpiMain"