Skip to content

Commit

Permalink
Include license key property in reproduction lines for release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira committed Aug 7, 2024
1 parent d3ec3a8 commit 08b2ef7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,13 @@ private ReproduceErrorMessageBuilder appendESProperties() {
if (System.getProperty("tests.jvm.argline") != null && System.getProperty("tests.jvm.argline").isEmpty() == false) {
appendOpt("tests.jvm.argline", "\"" + System.getProperty("tests.jvm.argline") + "\"");
}
if (Boolean.parseBoolean(System.getProperty("build.snapshot", "true")) == false) {
appendOpt("license.key", "x-pack/license-tools/src/test/resources/public.key");
}
appendOpt("tests.locale", Locale.getDefault().toLanguageTag());
appendOpt("tests.timezone", TimeZone.getDefault().getID());
appendOpt("tests.distribution", System.getProperty("tests.distribution"));
appendOpt("runtime.java", Integer.toString(Runtime.version().feature()));
appendOpt("license.key", System.getProperty("licence.key"));
appendOpt(ESTestCase.FIPS_SYSPROP, System.getProperty(ESTestCase.FIPS_SYSPROP));
return this;
}
Expand Down

0 comments on commit 08b2ef7

Please sign in to comment.