mirror of https://github.com/apache/lucene.git
update the reproduce-with logic to the new defaults (randomPerField)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1045324 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
73f2e63037
commit
5d030954b0
|
@ -951,7 +951,7 @@ public abstract class LuceneTestCase extends Assert {
|
||||||
// extra params that were overridden needed to reproduce the command
|
// extra params that were overridden needed to reproduce the command
|
||||||
private String reproduceWithExtraParams() {
|
private String reproduceWithExtraParams() {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
if (!TEST_CODEC.equals("random")) sb.append(" -Dtests.codec=").append(TEST_CODEC);
|
if (!TEST_CODEC.equals("randomPerField")) sb.append(" -Dtests.codec=").append(TEST_CODEC);
|
||||||
if (!TEST_LOCALE.equals("random")) sb.append(" -Dtests.locale=").append(TEST_LOCALE);
|
if (!TEST_LOCALE.equals("random")) sb.append(" -Dtests.locale=").append(TEST_LOCALE);
|
||||||
if (!TEST_TIMEZONE.equals("random")) sb.append(" -Dtests.timezone=").append(TEST_TIMEZONE);
|
if (!TEST_TIMEZONE.equals("random")) sb.append(" -Dtests.timezone=").append(TEST_TIMEZONE);
|
||||||
if (!TEST_DIRECTORY.equals("random")) sb.append(" -Dtests.directory=").append(TEST_DIRECTORY);
|
if (!TEST_DIRECTORY.equals("random")) sb.append(" -Dtests.directory=").append(TEST_DIRECTORY);
|
||||||
|
|
Loading…
Reference in New Issue