Skip to content

Commit

Permalink
minor fixes
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 be421c3 commit 851f9a0
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/jdbc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,25 @@ jobs:
- name: Check for cache reference leak
if: always()
id: cache-reference-leak
run: |
if grep -q "cache reference leak" ~/psql/data/logfile ~/psql/data_5433/logfile; then
if grep -q "cache reference leak" ~/psql/data/logfile; then
echo "Cache reference leak detected in logs!"
grep -n "cache reference leak" ~/psql/data/logfile
exit 1
else
echo "No cache reference leak found in logs."
fi
- name: Upload Log
if: always() && (steps.cache-reference-leak.outcome == 'failure')
uses: actions/upload-artifact@v4
with:
name: postgres-log-jdbc
path: |
~/psql/data/logfile
~/psql/data_5433/logfile
# 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 851f9a0

Please sign in to comment.