mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 22:36:20 +00:00
fix test
This commit is contained in:
parent
c24dbec6f5
commit
53dd8afaea
@ -74,7 +74,7 @@ public class QueryBuilderStoreTests extends ESTestCase {
|
||||
BinaryFieldMapper fieldMapper = PercolatorFieldMapper.Builder.createQueryBuilderFieldBuilder(
|
||||
new Mapper.BuilderContext(settings, new ContentPath(0)));
|
||||
|
||||
Version version = randomBoolean() ? Version.V_5_6_0 : Version.V_6_0_0_beta1;
|
||||
Version version = randomBoolean() ? Version.V_5_6_0 : Version.V_6_1_0;
|
||||
try (RandomIndexWriter indexWriter = new RandomIndexWriter(random(), directory, config)) {
|
||||
for (int i = 0; i < queryBuilders.length; i++) {
|
||||
queryBuilders[i] = new TermQueryBuilder(randomAlphaOfLength(4), randomAlphaOfLength(8));
|
||||
|
Loading…
x
Reference in New Issue
Block a user