-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
detect loss of liveness in tests (#17299)
In simtests, and also if the `PANIC_ON_NEW_CHECKPOINT_TIMEOUT` env var is set, we panic if we do not receive a certified checkpoint for too long. This condition should encompass more or less everything we mean when we say "loss of liveness". In order to get tests to pass under this stricter condition, several fixes were required: - changes to the crash failpoints to prevent crashes from happening too close together in time - disable pruning in crash tests Additionally, some tests cannot pass in this condition, so we suppress the panic on a per-test basis.
- Loading branch information
1 parent
0649dff
commit 4611063
Showing
5 changed files
with
129 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters