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

Fix unit test confirmation_height.conflict_rollback_cemented #3745

Merged

Conversation

theohax
Copy link
Contributor

@theohax theohax commented Mar 2, 2022

One more PR incoming on top of this to make the unit test even better by looking at a stat counter telling the number of failed rollbacks instead of trying to find the textual representation of that info in the node's logs.

@theohax theohax added bug unit test Related to a new, changed or fixed unit test labels Mar 2, 2022
@theohax theohax requested a review from clemahieu March 2, 2022 16:36
@theohax theohax self-assigned this Mar 2, 2022
@thsfs thsfs self-requested a review March 29, 2022 16:50
@dsiganos dsiganos force-pushed the fix-unit-test-confirmation_height.conflict_rollback_cemented branch from c6c37f8 to 39334ba Compare March 30, 2022 10:48
@dsiganos dsiganos force-pushed the fix-unit-test-confirmation_height.conflict_rollback_cemented branch from 39334ba to 6bc31d3 Compare March 30, 2022 11:29
clemahieu
clemahieu previously approved these changes Apr 6, 2022
* Introduce ledger.rollback_failed stat counter

* Use ledger.rollback_failed in confirmation_height.conflict_rollback_cemented
@theohax theohax merged commit bc15a8a into develop Apr 6, 2022
@theohax theohax deleted the fix-unit-test-confirmation_height.conflict_rollback_cemented branch April 6, 2022 13:35
@zhyatt zhyatt added this to the V24.0 milestone Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unit test Related to a new, changed or fixed unit test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unit test confirmation_height.conflict_rollback_cemented intermittently failing
4 participants