-
Notifications
You must be signed in to change notification settings - Fork 785
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup fixes for unit tests (#4184)
* Fixing incorrect bounds check in check_block_response_count and removing some code duplication. * Removing usages of ledger cache block and confirmed count which are not fully synced with observing blocks in the ledger. * Moving ASSERT_EQ out of function as this messes up googletest line reporting. * Moving ASSERT_EQ out of pending_exists lambda since it interferes with googletest test failure reporting. * Increasing timeouts to standard 5s. * Removing duplicate/unneeded checks unrelated to correctness.
- Loading branch information
Showing
3 changed files
with
44 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters