[TESTS] Temporary disable field data cache randomization.
This commit is contained in:
parent
783a9cbb18
commit
b43c2ced93
|
@ -75,7 +75,6 @@ import org.elasticsearch.common.xcontent.support.XContentMapValues;
|
|||
import org.elasticsearch.discovery.zen.elect.ElectMasterService;
|
||||
import org.elasticsearch.index.codec.CodecService;
|
||||
import org.elasticsearch.index.fielddata.FieldDataType;
|
||||
import org.elasticsearch.index.fielddata.IndexFieldDataService;
|
||||
import org.elasticsearch.index.mapper.DocumentMapper;
|
||||
import org.elasticsearch.index.mapper.FieldMapper;
|
||||
import org.elasticsearch.index.mapper.FieldMapper.Loading;
|
||||
|
@ -477,12 +476,14 @@ public abstract class ElasticsearchIntegrationTest extends ElasticsearchTestCase
|
|||
builder.put(IndicesQueryCache.INDEX_CACHE_QUERY_ENABLED, random.nextBoolean());
|
||||
}
|
||||
|
||||
if (random.nextBoolean()) {
|
||||
// Disabled for now as it seems to make tests unstable
|
||||
// TODO: figure out what is wrong with the soft and/or resident caches?
|
||||
/*if (random.nextBoolean()) {
|
||||
builder.put(IndexFieldDataService.FIELDDATA_CACHE_KEY, randomFrom(
|
||||
IndexFieldDataService.FIELDDATA_CACHE_VALUE_NODE,
|
||||
IndexFieldDataService.FIELDDATA_CACHE_VALUE_RESIDENT,
|
||||
IndexFieldDataService.FIELDDATA_CACHE_VALUE_SOFT));
|
||||
}
|
||||
}*/
|
||||
|
||||
return builder;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue