Thread: pgsql: test_shm_mq: Replace WAIT_EVENT_EXTENSION with custom wait event

pgsql: test_shm_mq: Replace WAIT_EVENT_EXTENSION with custom wait event

From
Michael Paquier
Date:
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(-)