worker_spi: Add tests for BGWORKER_BYPASS_ALLOWCONN

Michael Paquier <michael@paquier.xyz>

Commit: 991bb0f9653c61cf116338f295534d1378df2751
Author: Michael Paquier <michael@paquier.xyz>
Date: 2023-10-06T00:01:27Z
Releases: 17.0
worker_spi: Add tests for BGWORKER_BYPASS_ALLOWCONN

This bgworker flag exists in the core code since eed1ce72e159, but was
never tested.  This relies on 4f2994647ff1, that has added a way to
start dynamic workers with this flag enabled.

Reviewed-by: Bertrand Drouvot, Bharath Rupireddy
Discussion: https://postgr.es/m/bcc36259-7850-4882-97ef-d6b905d2fc51@gmail.com

Files

PathChange+/−
src/test/modules/worker_spi/t/001_worker_spi.pl modified +27 −0

Discussion