> The script has two tests, and the CI is failing for the second test
> where we expect the signal to be processed:
> [12:48:23.370] # Failed test 'autovacuum worker signaled with
> pg_signal_autovacuum_worker granted'
> [12:48:23.370] # at t/006_signal_autovacuum.pl line 90.
> --
> Michael
That's very strange, because the test works fine on my virtual
machine. Also, it seems that it works in Cirrus [0], as there is this
line:
[autovacuum worker] FATAL: terminating autovacuum process due to
administrator command
after `SET ROLE signal_autovacuum_worker_role;` and `SELECT
pg_terminate_backend` in the log file.
Somehow the `node->log_contains` check does not catch that. Maybe
there is some issue with `$offset`? Will try to investigate
[0]
https://api.cirrus-ci.com/v1/artifact/task/5668467599212544/log/src/test/modules/test_misc/tmp_check/log/006_signal_autovacuum_node.log