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

Re-introduce the spurious integration tests #1817

Merged
merged 3 commits into from
Jan 20, 2021

Conversation

rain-on
Copy link
Contributor

@rain-on rain-on commented Jan 20, 2021

Signed-off-by: Trent Mohay trent.mohay@consensys.net

PR description

IBFT2 Integration tests proving system behaviour under spurious input have been ported to QBFT, and refactored for differences in business logic.

Fixed Issue(s)

N/A

Changelog

N/A

Signed-off-by: Trent Mohay <trent.mohay@consensys.net>
@rain-on rain-on requested a review from jframe January 20, 2021 03:37
}

@Test
public void badlyFormedRlpDoesNotPreventOngoingIbftOperation() {
Copy link
Contributor

Choose a reason for hiding this comment

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

rename IbftOperation to BftOperation

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

}

@Test
public void messageWithIllegalMessageCodeAreDiscardedAndDoNotPreventOngoingIbftOperation() {
Copy link
Contributor

Choose a reason for hiding this comment

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

rename IbftOperation to BftOperation

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

}

@Test
public void preparesWithMisMatchedDigestAreNotRepondedTo() {
Copy link
Contributor

Choose a reason for hiding this comment

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

typo Reponded should be Responded

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Trent Mohay added 2 commits January 20, 2021 14:46
Signed-off-by: Trent Mohay <trent.mohay@consensys.net>
Signed-off-by: Trent Mohay <trent.mohay@consensys.net>
@rain-on rain-on merged commit 77859a9 into hyperledger:master Jan 20, 2021
@rain-on rain-on deleted the spurious branch January 20, 2021 04:31
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
Signed-off-by: Trent Mohay <trent.mohay@consensys.net>
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.

2 participants