Skip to content

Commit

Permalink
adding failure step for leak
Browse files Browse the repository at this point in the history
Signed-off-by: pranav jain <[email protected]>
  • Loading branch information
pranavJ23 committed Jan 22, 2025
1 parent 34f9e05 commit da7b618
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/jdbc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,16 @@ jobs:
~/psql/data/logfile
~/psql/data_5433/logfile
- name: Check for cache reference leak
if: always()
run: |
if grep -q "cache reference leak" ~/psql/data/logfile ~/psql/data_5433/logfile; then
echo "Cache reference leak detected in logs!"
exit 1
else
echo "No cache reference leak found in logs."
fi
# The test summary files contain paths with ':' characters, which is not allowed with the upload-artifact actions
- name: Rename Test Summary Files
id: test-file-rename
Expand Down

0 comments on commit da7b618

Please sign in to comment.