worker_spi: Fix test failure with BGWORKER_BYPASS_ROLELOGINCHECK
authorMichael Paquier <michael@paquier.xyz>
Mon, 16 Oct 2023 04:45:39 +0000 (13:45 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 16 Oct 2023 04:45:39 +0000 (13:45 +0900)
commit4922173010f102a7d56af7c97bd303b95b3f6eff
tree813c557918ac5888f5eff09cd1935eac781deb0f
parent63a582222c6b3db2b1103ddf67a04b31a8f8e9bb
worker_spi: Fix test failure with BGWORKER_BYPASS_ROLELOGINCHECK

This is a consequence of 4817da51f69a that has bumped up
max_worker_processes, where now the last worker started by the test
would be able to start by itself a parallel worker because there are
more slots available.  This did not show up before as the number of
bgworkers reached exactly 8, as known as the previous limit, at the end
of the test.

Per report from buildfarm member crake, reproducible with
debug_parallel_query = regress in the same fashion as fd4d93d269c0.
src/test/modules/worker_spi/worker_spi.c