Skip to content
New issue

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

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

Already on GitHub? # to your account

Enable and fix node.unconfirmed_send unit test #3680

Merged
merged 3 commits into from
Mar 29, 2022

Conversation

theohax
Copy link
Contributor

@theohax theohax commented Jan 20, 2022

I couldn't find an issue for this unit test to link it to the PR, perhaps it was disabled way back.

@theohax theohax added bug unit test Related to a new, changed or fixed unit test labels Jan 20, 2022
@theohax theohax self-assigned this Jan 20, 2022
nano/core_test/node.cpp Outdated Show resolved Hide resolved
.build_shared ();
ASSERT_EQ (nano::process_result::progress, node1.ledger.process (node1.store.tx_begin_write (), *send2).code);
node1.process_confirmed (nano::election_status{ send2 });
ASSERT_TIMELY (5s, node1.block_confirmed (send2->hash ()));
Copy link
Contributor

@dsiganos dsiganos Jan 20, 2022

Choose a reason for hiding this comment

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

Does node0 get synced at this point?
Is there an election taking place at this point?
I think an overall comment describing those details would be good afterall.

@theohax
Copy link
Contributor Author

theohax commented Jan 23, 2022

@reviewers -- addressed CR, please re-review, thanks

nano/core_test/node.cpp Outdated Show resolved Hide resolved
@theohax theohax requested a review from dsiganos January 24, 2022 15:18
@zhyatt zhyatt added this to the V24.0 milestone Jan 24, 2022
@theohax
Copy link
Contributor Author

theohax commented Jan 26, 2022

@dsiganos @clemahieu addressed CR guys, pinging you once more to have a look at this, thanks

@dsiganos dsiganos force-pushed the fix-node.unconfirmed_send-unit-test branch from 29cbd83 to 854a9be Compare March 29, 2022 13:21
@theohax
Copy link
Contributor Author

theohax commented Mar 29, 2022

LGTM, good to merge

@dsiganos dsiganos merged commit c84bec8 into develop Mar 29, 2022
@dsiganos dsiganos deleted the fix-node.unconfirmed_send-unit-test branch March 29, 2022 17:05
# for free to join this conversation on GitHub. Already have an account? # 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.

3 participants