-
Notifications
You must be signed in to change notification settings - Fork 410
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add force_database_error hooks to enable testing failing restores and…
… upgrades (#7287) Add two new optional fields to the JSON object used to configure `force_database_error`. * `_scopes`: Determines what operations will trigger an error. Defaults to `["query"]`. Other checked scopes are `restore` and `startup`. The `startup` scope is only checked against `INSTANCE` configuration, not database configurations. * `_versions`: If set, only fail if the current version is present in the array.
- Loading branch information
1 parent
2856efc
commit f59d85a
Showing
4 changed files
with
87 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