Must do pg_stat_clear_snapshot() inside test's loop, or our snapshot of pg_stat_activity will never change :-(. Thinko in b3427dad -- evidently my workstation never really iterated the loop in testing. Per buildfarm.
Attach a file by drag & drop or click to upload