Skip to content

Enable and fix node.unconfirmed_send unit test#3680

Merged
dsiganos merged 3 commits intodevelopfrom
fix-node.unconfirmed_send-unit-test
Mar 29, 2022
Merged

Enable and fix node.unconfirmed_send unit test#3680
dsiganos merged 3 commits intodevelopfrom
fix-node.unconfirmed_send-unit-test

Conversation

@theohax
Copy link
Copy Markdown
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
.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
Copy Markdown
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
Copy Markdown
Contributor Author

theohax commented Jan 23, 2022

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

@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
Copy Markdown
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
Copy Markdown
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
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.

3 participants