-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
build: explicitly set SKIP_LABEL_TEST_FAILURE in compose.sh #109356
build: explicitly set SKIP_LABEL_TEST_FAILURE in compose.sh #109356
Conversation
Previously, `SKIP_LABEL_TEST_FAILURE` was being set via a teamcity configuration. This change was quite opaque as the majority of CI configuration for Cockroach is stored as shell scripts within its repo. This commit follows that pattern by explicitly setting `SKIP_LABEL_TEST_FAILURE` in the script that runs `TestComposeCompare`. Epic: None Release note: None
TFTR! bors r =rickystewart |
# failures per se. They're cases of behavioral divergences from Postgres. While | ||
# our compatibility guarantees are not 100%, it's better to treat failures as | ||
# information to occasionally review. | ||
export SKIP_LABEL_TEST_FAILURE=1 |
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.
is this the way to do it, as opposed to how the env vars are passed on line 34? i guess the difference is if the variable is used by the test runner versus the test itself?
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.
Yes, this is correct. We want the variable to be visible by bazci
. Compare to line 34 which sets environment variables for the test inside the sandbox.
Whoops, extra space might have tripped bors up. bors r=rickystewart |
Build succeeded: |
Previously,
SKIP_LABEL_TEST_FAILURE
was being set via a teamcity configuration. This change was quite opaque as the majority of CI configuration for Cockroach is stored as shell scripts within its repo. This commit follows that pattern by explicitly settingSKIP_LABEL_TEST_FAILURE
in the script that runsTestComposeCompare
.Epic: None
Release note: None