From 9f84c98ac70f5442076927e481abafca7e1c1200 Mon Sep 17 00:00:00 2001 From: Jan Nidzwetzki Date: Mon, 16 Oct 2023 12:58:52 +0200 Subject: [PATCH] Remove canceled bgw jobs from test output When a background worker is canceled by 'select delete_job()' the following log message is printed: NOTICE: cancelling the background worker for job However, this log message is not deterministic and breaks our CI checks. So, this patch removes the log message from the test output to make the regression checks more deterministic. --- test/runner.sh | 3 ++- test/runner_shared.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/runner.sh b/test/runner.sh index 63f7d7870b7..3f977c1f1e7 100755 --- a/test/runner.sh +++ b/test/runner.sh @@ -140,4 +140,5 @@ ${PSQL} -U ${TEST_PGUSER} \ -e 's! Memory Usage: [0-9]\{1,\}kB!!' \ -e 's! Average Peak Memory: [0-9]\{1,\}kB!!' | \ grep -v 'DEBUG: rehashing catalog cache id' | \ - grep -v 'DEBUG: compacted fsync request queue from' + grep -v 'DEBUG: compacted fsync request queue from' | \ + grep -v 'NOTICE: cancelling the background worker for job' diff --git a/test/runner_shared.sh b/test/runner_shared.sh index 90799f60829..8ef47111ec5 100755 --- a/test/runner_shared.sh +++ b/test/runner_shared.sh @@ -88,4 +88,5 @@ ${PSQL} -U ${TEST_PGUSER} \ -e 's! Memory Usage: [0-9]\{1,\}kB!!' \ -e 's! Average Peak Memory: [0-9]\{1,\}kB!!' | \ grep -v 'DEBUG: rehashing catalog cache id' | \ - grep -v 'DEBUG: compacted fsync request queue from' + grep -v 'DEBUG: compacted fsync request queue from' | \ + grep -v 'NOTICE: cancelling the background worker for job'