Skip to content

Ignore rate_limiter_test and socket_options_test binaries - #628

Merged
fcostaoliveira merged 1 commit into
masterfrom
fix/gitignore-test-binaries-623
Oct 14, 2026
Merged

fcostaoliveira merged 1 commit into
masterfrom
fix/gitignore-test-binaries-623

Conversation

@fcostaoliveira

@fcostaoliveira fcostaoliveira commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

After make check, git status shows two untracked files on master (013cb85):

?? rate_limiter_test
?? socket_options_test

Root cause

rate_limiter_test (9572e2e, #519) and socket_options_test (76b2b8f, #541) were added to check_PROGRAMS in Makefile.am without matching .gitignore entries. The other three check programs (prometheus_metrics_test, hdr_histogram_test, cluster_transaction_test) are already listed.

Fix

  • Add /rate_limiter_test and /socket_options_test to the unit-test block. The block now lists all five check_PROGRAMS.
  • Also checked coverage and test artifacts:
    • *.log, *.trs, test-suite.log, tests/unit/.dirstamp and .deps were already ignored.
    • *.gcno, *.gcda and *.info were already ignored.
    • The genhtml report directory written by make code-coverage-capture (memtier_benchmark-<version>-coverage/, from CODE_COVERAGE_OUTPUT_DIRECTORY in m4/ax_code_coverage.m4) was not ignored. This PR adds /memtier_benchmark-*-coverage/.

Test evidence

Clean build with autoreconf -ivf && ./configure && make -j8 && make check (5/5 pass):

  • master: git status --short lists ?? rate_limiter_test and ?? socket_options_test.
  • This branch: git status --short is empty.

I could not run the coverage capture locally because configure --enable-code-coverage rejects the local lcov 2.x, the same limitation noted in ci.yml. I checked the new pattern with git check-ignore -v memtier_benchmark-2.5.2-coverage/index.html, which matches .gitignore:61.

Fixes #623

Affected versions

master only (repository hygiene, no runtime impact). rate_limiter_test came with 9572e2e (#519) and socket_options_test with 76b2b8f (#541). git tag --contains returns no tag for either commit, so no release, 2.5.2 included, is affected.

🤖 Generated with Claude Code


Note

Low Risk
Repository hygiene only; no runtime or build logic changes.

Overview
Updates .gitignore so local build and coverage artifacts stop showing up as untracked after make check and coverage runs.

Adds root-level ignores for rate_limiter_test and socket_options_test, matching the other Automake check_PROGRAMS binaries. Also ignores memtier_benchmark-*-coverage/, the genhtml output directory from code-coverage capture.

Reviewed by Cursor Bugbot for commit acbe27c. Bugbot is set up for automated code reviews on this repo. Configure here.

rate_limiter_test (#519) and socket_options_test (#541) were added to
check_PROGRAMS without matching .gitignore entries, so after `make check`
both binaries show up as untracked files. List them next to the other
three check programs; the five entries now match check_PROGRAMS in
Makefile.am.

Also ignore the genhtml report directory that `make code-coverage-capture`
writes (memtier_benchmark-<version>-coverage/). The .info file and the
gcov artifacts were already covered by *.info / *.gc*.

Fixes #623

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@fcostaoliveira
fcostaoliveira force-pushed the fix/gitignore-test-binaries-623 branch from 615372e to acbe27c Compare October 14, 2026 09:30
@fcostaoliveira
fcostaoliveira merged commit a15069d into master Oct 14, 2026
127 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.gitignore does not list unit-test binaries rate_limiter_test and socket_options_test

1 participant