worker_spi: Add tests for BGWORKER_BYPASS_ALLOWCONN
commit991bb0f9653c61cf116338f295534d1378df2751
authorMichael Paquier <michael@paquier.xyz>
Fri, 6 Oct 2023 00:01:27 +0000 (6 09:01 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 6 Oct 2023 00:01:27 +0000 (6 09:01 +0900)
treeecab4e8b3ddd9fda954ca580f9365a528cc2424b
parent180e3394a7042f6cefa53221bfa224db906671d3
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
src/test/modules/worker_spi/t/001_worker_spi.pl