Skip to content

Fix tests in --disable-postgres build #4626

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

bboston7
Copy link
Contributor

Resolves #4625 and #4614.

This change fixes the tests in the --disable-postgres build by disabling parallel ledger close tests when postgres is disabled. This is necessary because parallel ledger close requires postgres.

As part of this, I also removed the TESTDB_BUCKET_DB_PERSISTENT_POSTGRES test mode, as it's made redundant by the TESTDB_POSTGRESQL mode.

Checklist

  • Reviewed the contributing document
  • Rebased on top of master (no merge commits)
  • Ran clang-format v8.0.0 (via make format or the Visual Studio extension)
  • Compiles
  • Ran all tests
  • If change impacts performance, include supporting evidence per the performance document

Resolves stellar#4625 and stellar#4614.

This change fixes the tests in the `--disable-postgres` build by
disabling parallel ledger close tests when postgres is disabled. This is
necessary because parallel ledger close requires postgres.

As part of this, I also removed the
`TESTDB_BUCKET_DB_PERSISTENT_POSTGRES` test mode, as it's made redundant
by the `TESTDB_POSTGRESQL` mode.
@bboston7 bboston7 requested a review from SirTyson January 17, 2025 19:30
SirTyson
SirTyson previously approved these changes Jan 17, 2025
Copy link
Contributor

@SirTyson SirTyson left a comment

Choose a reason for hiding this comment

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

LGTM, but I think you need to run clang-format.

@SirTyson SirTyson added this pull request to the merge queue Jan 17, 2025
Merged via the queue into stellar:master with commit c888dfb Jan 17, 2025
13 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.

Test failures on build with --disable-postgres set
2 participants