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

Test - Not proposer on instance start #346

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MatheusFranco99
Copy link
Contributor

@MatheusFranco99 MatheusFranco99 commented Jan 12, 2024

Solves issue #118.

Tests:

  • Test proposer operator at the start of the instance
  • Test non-proposer operator at the start of the instance

Changes:

  • Added a StartInstance boolean flag and a StartValue []byte in MsgProcessingSpecTest. If it's set to true, the test will call the Start instance function and generate the proposal if the operator is the leader.

"Decided": false,
"DecidedValue": null,
"ProposeContainer": {
"Msgs": {}
Copy link
Contributor

Choose a reason for hiding this comment

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

this is empty because we are just ouputting the message and not processing it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Exactly

Copy link
Contributor

@GalRogozinski GalRogozinski left a comment

Choose a reason for hiding this comment

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

Looks good

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.

3 participants