fix(test): fail smoke test scripts eagerly if a command fails#1394
Merged
SuperFluffy merged 2 commits intomainfrom Aug 23, 2024
Merged
fix(test): fail smoke test scripts eagerly if a command fails#1394SuperFluffy merged 2 commits intomainfrom
SuperFluffy merged 2 commits intomainfrom
Conversation
c0c1f00 to
cef17e3
Compare
joroshiba
approved these changes
Aug 23, 2024
steezeburger
added a commit
that referenced
this pull request
Aug 26, 2024
* main: fix(test): use correct conditions to dermine smoke test success (#1395) fix(test): fail smoke test scripts eagerly if a command fails (#1394) fix(cli, tests): add force flag to overwrite withdrawal target path (#1393) release(charts): update with biweekly image cuts (#1399) Chore(Charts): seq-faucet bech32m chart update (#1301) chore: preview environment with astria-geth changes (#1401) release: biweekly release cut (#1398)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fail smoke tests eagerly if one command fails.
Background
Smoke test scripts kept executing even though some of their commands failed. This patch uses the bash built-in
set -eto immediately exit tests with non-zero exit code.Changes
set -ein all smoke tests.Testing
This correctly fails tests if the conditions don't apply (tested offline and verified in CI).
Related Issues
Partially addresses #1392.
This patch will fail CI until after #1393 is merged.