-
Notifications
You must be signed in to change notification settings - Fork 25.2k
QA: System property to override distribution #30591
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
Changes from all commits
1787e42
db8c1ef
d2d384e
5b64f0e
9cc15bd
39440af
6d9e590
f3ef5bf
8465558
62b0500
25c81a3
d38e00a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,11 @@ dependencies { | |
testCompile project(path: ':modules:lang-mustache', configuration: 'runtime') | ||
} | ||
|
||
/* | ||
* One of the integration tests doesn't work with the zip distribution | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you open an issue for this so it is tracked and link it in this code comment? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Absolutely. |
||
* and will be fixed later. | ||
* Tracked by https://github.com/elastic/elasticsearch/issues/30628 | ||
*/ | ||
if ("zip".equals(integTestCluster.distribution)) { | ||
integTestRunner.enabled = false | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -149,6 +149,7 @@ public ReproduceErrorMessageBuilder appendESProperties() { | |
} | ||
appendOpt("tests.locale", Locale.getDefault().toLanguageTag()); | ||
appendOpt("tests.timezone", TimeZone.getDefault().getID()); | ||
appendOpt("tests.distribution", System.getProperty("tests.distribution")); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you override the distribution on the command line then it is important to override it again. If you don't override it on the command line then setting this environment variable does nothing which is fine. |
||
return this; | ||
} | ||
|
||
|
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.
At first I thought this PR would be just this line. If only things were that simple....
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.
And now that I've reverted most of the rest, it is almost the only line!