Skip to content

test: share database file-count helper - #356

Merged
dfa1 merged 1 commit into
dfa1:mainfrom
jay23606:fix/test-count-helper-301
Nov 18, 2026
Merged

dfa1 merged 1 commit into
dfa1:mainfrom
jay23606:fix/test-count-helper-301

Conversation

@jay23606

Copy link
Copy Markdown
Contributor

Summary

  • Add a package-private TestFiles.countFiles(dir, suffix) helper.
  • Reuse it from checkpoint, DB-path, and transaction DB tests.

Fixes #301

Validation

  • Local diff review and git diff --check passed.
  • ./mvnw test -pl core -am could not run locally: this environment has JDK 21, while the project requires JDK 25. The test command fails before Maven starts. Drafted so the repository's Java 25 CI can validate it.

@jay23606
jay23606 marked this pull request as ready for review November 16, 2026 20:43
@dfa1
dfa1 merged commit 44dd538 into dfa1:main Nov 18, 2026
6 checks passed
@dfa1

dfa1 commented Nov 18, 2026

Copy link
Copy Markdown
Owner

thank you @jay23606 !

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.

Tests: share countFiles/countSstFiles between CheckpointTest and OptionsDbPathsTest

2 participants