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

view change test automation #3

Open
LeoHChen opened this issue Oct 30, 2020 · 0 comments
Open

view change test automation #3

LeoHChen opened this issue Oct 30, 2020 · 0 comments

Comments

@LeoHChen
Copy link

We shall add view change test automation in the test package for the regression test.

You may refer to the following files to check out the flow. Basically, iterate all the nodes to find out the leader, and then gracefully kill the leader. After 60 seconds, the view change is expected to be finished and then restore the original node.

https://github.com/harmony-one/harmony/pull/3408/files

Some enhancement could be to check the log or RPC to make sure the view change happened and the consensus was ongoing after the view change.

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

No branches or pull requests

1 participant