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

Stop instances tests #297

Merged
merged 33 commits into from
Aug 13, 2023

Conversation

GalRogozinski
Copy link
Contributor

Fixes #287

Also adds smart marshaling instance.forceStop field so it will only serialize to JSON on relevant tests.
Adds smart marshaling Height field to runInstanceData

import "github.com/bloxapp/ssv-spec/qbft/spectest/tests"

// ForceStopPrevious tests stoping previous running instances when starting a new instance
func ForceStopPrevious() tests.SpecTest {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is deleted because prev_decided and prev_not_decided cover this

@GalRogozinski GalRogozinski marked this pull request as ready for review July 31, 2023 14:10
qbft/instance.go Outdated Show resolved Hide resolved
@GalRogozinski GalRogozinski merged commit 8108014 into ssvlabs:main Aug 13, 2023
2 checks passed
@GalRogozinski GalRogozinski deleted the tests/stop-instances-tests branch August 13, 2023 14:47
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.

Add missing tests for instance_decided_enformcement SIP
4 participants