Fix repro line for tests to use language tag
See https://issues.apache.org/jira/browse/LUCENE-6978 Also fixed date histogram test to use its version constant as a string setting.
This commit is contained in:
parent
30bfde9a2d
commit
b349746bbe
|
@ -61,7 +61,7 @@ public class DateHistogramOffsetIT extends ESIntegTestCase {
|
|||
protected Settings nodeSettings(int nodeOrdinal) {
|
||||
return Settings.builder()
|
||||
.put(super.nodeSettings(nodeOrdinal))
|
||||
.put(AssertingLocalTransport.ASSERTING_TRANSPORT_MIN_VERSION_KEY.getKey(), Version.V_1_4_0_Beta1).build();
|
||||
.put(AssertingLocalTransport.ASSERTING_TRANSPORT_MIN_VERSION_KEY.getKey(), Version.V_1_4_0_Beta1.toString()).build();
|
||||
}
|
||||
|
||||
@Before
|
||||
|
|
|
@ -147,7 +147,7 @@ public class ReproduceInfoPrinter extends RunListener {
|
|||
if (System.getProperty("tests.jvm.argline") != null && !System.getProperty("tests.jvm.argline").isEmpty()) {
|
||||
appendOpt("tests.jvm.argline", "\"" + System.getProperty("tests.jvm.argline") + "\"");
|
||||
}
|
||||
appendOpt("tests.locale", Locale.getDefault().toString());
|
||||
appendOpt("tests.locale", Locale.getDefault().toLanguageTag());
|
||||
appendOpt("tests.timezone", TimeZone.getDefault().getID());
|
||||
return this;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue