Skip to content

Commit

Permalink
fixing the expected file
Browse files Browse the repository at this point in the history
Signed-off-by: pranav jain <[email protected]>
  • Loading branch information
pranavJ23 committed Jan 24, 2025
1 parent 7d6d1fc commit f9de1bd
Show file tree
Hide file tree
Showing 2 changed files with 381 additions and 381 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/jdbc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
EXPECTED_WARNINGS_FILE=~/work/babelfish_extensions/babelfish_extensions/test/JDBC/expected/expected-warnings.out
# Collect all leak warnings from log files, extracting only the warning type
grep -i "WARNING:.*leak" ~/psql/data/logfile ~/psql/data_5433/logfile | sed -E 's/^.*WARNING:\s*([^:]+\s+reference\s+leak):.*/WARNING: \1:/' | sort | uniq > actual-leak-warnings.out
grep -i "WARNING:.*leak" ~/psql/data/logfile | sed -E 's/^.*WARNING:\s*([^:]+(\s+reference\s+leak|connection leak)[^:]*):.*/WARNING: \1/' | sort > actual-leak-warnings.out
# Compare actual leak warnings with expected leak warnings
if diff -u "$EXPECTED_WARNINGS_FILE" actual-leak-warnings.out; then
Expand Down
Loading

0 comments on commit f9de1bd

Please sign in to comment.