-
Notifications
You must be signed in to change notification settings - Fork 296
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
Add a test to restart the app #3337
Comments
Good shout. it's hard to do a full reboot as a unit test. I think this would be better suited as a knuu test. In cometbft's test they include perturbations which involve killing and restarting the docker instance |
we might be able to with testnode if we manually call these and shutdown, then restart celestia-app/test/util/testnode/network.go Lines 36 to 43 in 9db2f8b
that might not work tho, in which case I agree, knuu is the way to go |
FYI, I think the upgrade tests already kill the node and restart it |
Description
In the past, we've ran into at least two bugs that resulted in a panic after restarting (one being #3336).
Acceptance criteria
The text was updated successfully, but these errors were encountered: