-
Notifications
You must be signed in to change notification settings - Fork 287
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
*(both): replace set -e to set -ru and disable some unstable test #4160
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/run-all-tests |
/cc @wjhuang2016 |
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more. @@ Coverage Diff @@
## master #4160 +/- ##
================================================
+ Coverage 55.1722% 55.4193% +0.2470%
================================================
Files 485 489 +4
Lines 59829 60607 +778
================================================
+ Hits 33009 33588 +579
- Misses 23484 23623 +139
- Partials 3336 3396 +60 |
/run-dm-integration-test |
Prefer to add the link https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html to the PR description as the reference of why we add |
/run-all-tests |
/run-all-tests |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
/unhold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thank for this work
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 4fee668
|
/merge |
/run-kafka-integration-test |
/run-dm-integration-test |
/run-dm-integration-test |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 51da496
|
/run-dm-integration-test |
/run-dm-integration-test |
/run-kafka-integration-test |
seems downstream_diff_index always fails … |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: f2c509d
|
temporary removed tests will be enabled in #4172 |
@lance6716: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/run-leak-test |
/run-verify |
/run-kafka-integration-test |
/run-verify |
1 similar comment
/run-verify |
What problem does this PR solve?
Issue Number: ref #4159
close #4158
What is changed and how it works?
replace
^set -e\n
to^set -eu\n
to reduce the chance accidentally format the whole disk.Meaning of
set
options can be found in https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html. When we execute some internal shell scripts, both variables inWORK_DIR=$OUT_DIR/$TEST_NAME
is not set thus empty strings, so a followingrm -rf $WORK_DIR
will becomerm -rf /
.set -u
can found unbound variables and stop execution.I added an echo to show what's going to execute
before:
after
Check List
Tests
Release note