Skip to content
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

Add unittests for ledger publisher and bug fixes #860

Merged
merged 2 commits into from
Oct 3, 2023

Conversation

cindyyan317
Copy link
Collaborator

1 Add unittests to ledger publisher (100%)
2 Inject cache module, remove backend->cache().
3 Bug fix: Use SubscriptionManagerType; maxAttempts calculation

@cindyyan317 cindyyan317 added this to the 2.1 milestone Sep 19, 2023
kuznetsss
kuznetsss previously approved these changes Sep 19, 2023
Copy link
Collaborator

@kuznetsss kuznetsss left a comment

Choose a reason for hiding this comment

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

👍

unittests/etl/LedgerPublisherTests.cpp Outdated Show resolved Hide resolved
unittests/etl/LedgerPublisherTests.cpp Outdated Show resolved Hide resolved
Copy link
Collaborator

@godexsoft godexsoft left a comment

Choose a reason for hiding this comment

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

Adding a few small comments, all minor stuff ⭐

src/etl/impl/LedgerPublisher.h Outdated Show resolved Hide resolved
src/etl/impl/LedgerPublisher.h Outdated Show resolved Hide resolved
unittests/etl/LedgerPublisherTests.cpp Outdated Show resolved Hide resolved
unittests/etl/LedgerPublisherTests.cpp Outdated Show resolved Hide resolved
unittests/etl/LedgerPublisherTests.cpp Outdated Show resolved Hide resolved
unittests/util/MockCache.h Outdated Show resolved Hide resolved
unittests/etl/LedgerPublisherTests.cpp Outdated Show resolved Hide resolved
godexsoft
godexsoft previously approved these changes Sep 19, 2023
@cindyyan317 cindyyan317 dismissed stale reviews from godexsoft and kuznetsss via 68ba6b7 September 19, 2023 15:03
kuznetsss
kuznetsss previously approved these changes Sep 19, 2023
godexsoft
godexsoft previously approved these changes Sep 19, 2023
@cindyyan317 cindyyan317 dismissed stale reviews from godexsoft and kuznetsss via 2477a49 October 3, 2023 11:51
@cindyyan317 cindyyan317 merged commit e2cc56d into XRPLF:develop Oct 3, 2023
5 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.

3 participants