Skip to content

Commit

Permalink
Remove canceled bgw jobs from test output
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jnidzwetzki committed Oct 16, 2023
1 parent a664e68 commit 9f84c98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
3 changes: 2 additions & 1 deletion test/runner_shared.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 9f84c98

Please sign in to comment.