Skip to content

refactor(metadata-db): migrate tests from Connection to MetadataDb pool#1904

Merged
shiyasmohd merged 1 commit intomainfrom
shiyasmohd/migrate-tests
Mar 4, 2026
Merged

refactor(metadata-db): migrate tests from Connection to MetadataDb pool#1904
shiyasmohd merged 1 commit intomainfrom
shiyasmohd/migrate-tests

Conversation

@shiyasmohd
Copy link
Contributor

Replace manual Connection setup with shared setup_test_db() helper, removing boilerplate code.

@shiyasmohd shiyasmohd self-assigned this Mar 4, 2026
@shiyasmohd shiyasmohd requested review from LNSD and leoyvens March 4, 2026 11:55
Copy link
Contributor

@LNSD LNSD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

Nit: Would you mind renaming the tests::common module name to tests::helpers?

@shiyasmohd shiyasmohd force-pushed the shiyasmohd/migrate-tests branch from 789eb78 to 98a7f99 Compare March 4, 2026 14:17
@shiyasmohd
Copy link
Contributor Author

shiyasmohd commented Mar 4, 2026

Renamed to helpers.rs & also moved register_table_and_revision helper too in 98a7f99.

@shiyasmohd shiyasmohd merged commit 6a723ba into main Mar 4, 2026
8 checks passed
@shiyasmohd shiyasmohd deleted the shiyasmohd/migrate-tests branch March 4, 2026 14:32
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.

2 participants