-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
script: Add '*' prefix for retrying commands
This adds a generic facility for retrying failing commands. A command that is prefixed with '*' and fails will cause the whole section (delimited by '#' comments) to be retried from the top. Retrying is repeated until the command succeeds or the context is cancelled. The retry interval can be set in (*Engine).RetryInterval. Example usage: # Verify table contents db show -o=out.table my-table * cmp out.table expected.table Signed-off-by: Jussi Maki <[email protected]>
- Loading branch information
Showing
4 changed files
with
59 additions
and
21 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