Skip to content

Commit

Permalink
Merge branch 'jk/test-lsan-denoise-output'
Browse files Browse the repository at this point in the history
Tests with LSan from time to time seem to emit harmless message
that makes our tests unnecessarily flakey; we work it around by
filtering the uninteresting output.

* jk/test-lsan-denoise-output:
  test-lib: ignore uninteresting LSan output
  • Loading branch information
gitster committed Sep 5, 2023
2 parents 3e2b0c2 + 370ef7e commit 4241eec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/test-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ nr_san_dir_leaks_ () {
find "$TEST_RESULTS_SAN_DIR" \
-type f \
-name "$TEST_RESULTS_SAN_FILE_PFX.*" 2>/dev/null |
xargs grep -lv "Unable to get registers from thread" |
wc -l
}

Expand Down

0 comments on commit 4241eec

Please sign in to comment.